nvim: remove JsonFormat because I have Neoformat :)
This commit is contained in:
@ -17,12 +17,6 @@ vim.opt.timeoutlen = 500
|
|||||||
vim.opt.ts = 4
|
vim.opt.ts = 4
|
||||||
vim.opt.laststatus = 3
|
vim.opt.laststatus = 3
|
||||||
|
|
||||||
-- :jq command using jq
|
|
||||||
vim.api.nvim_create_autocmd("FileType", {
|
|
||||||
pattern = "json",
|
|
||||||
command = ":command! JsonFormat %!jq",
|
|
||||||
})
|
|
||||||
|
|
||||||
-- trigger autoread on file change
|
-- trigger autoread on file change
|
||||||
vim.api.nvim_create_autocmd({ "FocusGained", "BufEnter", "CursorHold", "CursorHoldI" }, {
|
vim.api.nvim_create_autocmd({ "FocusGained", "BufEnter", "CursorHold", "CursorHoldI" }, {
|
||||||
pattern = "*",
|
pattern = "*",
|
||||||
|
|||||||
Reference in New Issue
Block a user