neovim 0.12 update
This commit is contained in:
parent
d776924ffc
commit
2e6e11b86d
8 changed files with 83 additions and 72 deletions
|
|
@ -1,3 +1,10 @@
|
|||
vim.api.nvim_create_autocmd('FileType', {
|
||||
pattern = { 'json' },
|
||||
callback = function()
|
||||
vim.api.nvim_set_option_value('formatprg', 'jq', { scope = 'local' })
|
||||
end,
|
||||
})
|
||||
|
||||
vim.g.rest_nvim = {
|
||||
ui = {
|
||||
keybinds = {
|
||||
|
|
@ -7,12 +14,12 @@ vim.g.rest_nvim = {
|
|||
},
|
||||
}
|
||||
return {
|
||||
"rest-nvim/rest.nvim",
|
||||
'rest-nvim/rest.nvim',
|
||||
dependencies = {
|
||||
"nvim-treesitter/nvim-treesitter",
|
||||
'nvim-treesitter/nvim-treesitter',
|
||||
opts = function (_, opts)
|
||||
opts.ensure_installed = opts.ensure_installed or {}
|
||||
table.insert(opts.ensure_installed, "http")
|
||||
table.insert(opts.ensure_installed, 'http')
|
||||
end,
|
||||
},
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue