neovim: Add tailwindcss language server

This commit is contained in:
Simon Bruder 2022-08-20 20:04:46 +02:00
parent fb5861b079
commit 8ab2f7b62c
Signed by: simon
GPG key ID: 8D3C82F9F309F8EC
2 changed files with 4 additions and 0 deletions

View file

@ -63,6 +63,7 @@ in
python-lsp-black python-lsp-black
python-lsp-server python-lsp-server
])) ]))
nodePackages."@tailwindcss/language-server"
]); ]);
plugins = with pkgs.vimPlugins; [ plugins = with pkgs.vimPlugins; [
Vim-Jinja2-Syntax Vim-Jinja2-Syntax

View file

@ -302,6 +302,9 @@ lsp.rust_analyzer.setup {
}, },
}, },
} }
lsp.tailwindcss.setup {
on_attach = on_attach,
}
require('trouble').setup {} require('trouble').setup {}