diff --git a/init.lua b/init.lua index 591b825f..5e007877 100644 --- a/init.lua +++ b/init.lua @@ -170,6 +170,9 @@ vim.o.scrolloff = 10 -- See `:help 'confirm'` vim.o.confirm = true +-- Allow loading local .nvim.lua files +vim.o.exrc = true + -- [[ Basic Keymaps ]] -- See `:help vim.keymap.set()` @@ -708,7 +711,7 @@ require('lazy').setup({ -- Disable "format_on_save lsp_fallback" for languages that don't -- have a well standardized coding style. You can add additional -- languages here or re-enable it for the disabled ones. - local disable_filetypes = { c = true, cpp = true } + local disable_filetypes = {} if disable_filetypes[vim.bo[bufnr].filetype] then return nil else @@ -908,7 +911,6 @@ require('lazy').setup({ 'python', 'diff', 'json', - 'jsonc', 'html', 'xml', 'yaml',