diff --git a/nvim/lua/kickstart/plugins/autoformat.lua b/nvim/lua/kickstart/plugins/autoformat.lua index 8ce5e72..964074d 100644 --- a/nvim/lua/kickstart/plugins/autoformat.lua +++ b/nvim/lua/kickstart/plugins/autoformat.lua @@ -41,7 +41,7 @@ return { formatters_by_ft = { lua = { 'stylua' }, go = { 'gofmt', 'injected' }, - sql = { 'sqlfluff' }, + -- sql = { 'sqlfluff' }, -- ['*'] = { 'injected' }, -- enables injected-lang formatting for all filetypes -- Conform can also run multiple formatters sequentially @@ -67,18 +67,18 @@ return { -- end, -- stdin = true, -- }, - sqlfluff = { - command = 'sqlfluff', - args = { - 'format', - -- 'fix', - -- '--dialect', - -- 'postgres', - -- '--disable-progress-bar', - '-', - }, - stdin = true, - }, + -- sqlfluff = { + -- command = 'sqlfluff', + -- args = { + -- 'format', + -- -- 'fix', + -- -- '--dialect', + -- -- 'postgres', + -- -- '--disable-progress-bar', + -- '-', + -- }, + -- stdin = true, + -- }, }, }, }, diff --git a/nvim/lua/kickstart/settings.lua b/nvim/lua/kickstart/settings.lua index 7e314d7..ab65155 100644 --- a/nvim/lua/kickstart/settings.lua +++ b/nvim/lua/kickstart/settings.lua @@ -28,6 +28,7 @@ vim.opt.expandtab = true -- Их параметры конфига для переназначения не работают. Пришлось костыль сделать vim.cmd [[ autocmd FileType yaml setlocal shiftwidth=2 tabstop=2 softtabstop=2 expandtab + autocmd BufEnter *.py :setlocal shiftwidth=4 tabstop=4 softtabstop=4 noexpandtab ]] -- Комментировать .proto код биндом