diff --git a/flake.nix b/flake.nix index f32aff0..02dda17 100644 --- a/flake.nix +++ b/flake.nix @@ -68,6 +68,8 @@ colorscheme dracula autocmd BufEnter * :setlocal tabstop=2 shiftwidth=2 expandtab autocmd BufEnter *.nix :setlocal tabstop=2 shiftwidth=2 expandtab + autocmd BufEnter *.py :setlocal tabstop=4 shiftwidth=4 expandtab + lua < with each lsp server you've enabled. - require('lspconfig')[rust_analyzer].setup { + require('lspconfig')['rust_analyzer'].setup { capabilities = capabilities } EOF