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