slint lsp config

This commit is contained in:
Sebastian Moser
2024-07-30 20:01:22 +02:00
parent f5cbe0645f
commit c1060383b3

View File

@@ -25,6 +25,10 @@
"rust-analyzer.diagnostics.enable" = true;
"rust-analyzer.checkOnSave.enable" = false;
"languageserver" = {
"slint" = {
"filetypes" = [ "slint" ];
"command" = "slint-lsp";
};
"vhdl" = {
"command" = "/home/sebastian/work/config/nvim/language-servers/vhdl/vhdl-tool";
"args" = [ "lsp" ];
@@ -46,6 +50,8 @@
extraConfig = ''
autocmd BufEnter *.slint :setlocal filetype=slint
syntax enable
filetype plugin indent on