Add local lua file, update formatting

This commit is contained in:
stasdelen 2026-06-11 09:56:49 +03:00
parent d38af69f0f
commit 2a3ea1898a
1 changed files with 4 additions and 2 deletions

View File

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