From 5466e911f39006bf05ad928c9f42c13ca7dc4b8e Mon Sep 17 00:00:00 2001 From: Arthur Wambst Date: Wed, 23 Apr 2025 19:40:52 +0200 Subject: [PATCH] trying fixes for lsp --- flake.nix | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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