LazyVIM and some updated configurations

This commit is contained in:
Blake Ridgway 2023-12-25 10:03:17 -06:00
parent 451c1ed56d
commit 7d50f578b1
46 changed files with 1269 additions and 969 deletions

View file

@ -0,0 +1,18 @@
-- Autocmds are automatically loaded on the VeryLazy event
-- Default autocmds that are always set: https://github.com/LazyVim/LazyVim/blob/main/lua/lazyvim/config/autocmds.lua
-- Add any additional autocmds here
-- turn off paste mode when leaving insert
vim.api.nvim_create_autocmd("InsertLeave", {
pattern = "*",
command = "set nopaste",
})
-- fix conceallevel for json files
vim.api.nvim_create_autocmd("FileType", {
pattern = { "json", "jsonc" },
callback = function()
vim.wo.spell = false
vim.wo.conceallevel = 0
end,
})