neovim 0.12 update

This commit is contained in:
RafayAhmad7548 2026-04-14 05:48:42 +05:00
parent d776924ffc
commit 2e6e11b86d
Signed by: RafayAhmad
SSH key fingerprint: SHA256:WURX8viobA1uawb4dWM3LqYrY+XPcZcXhAXAlrYdhtE
8 changed files with 83 additions and 72 deletions

View file

@ -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,
},
}