From a0898bea1fea24cdcb28d5ec69681b01de75ad7d Mon Sep 17 00:00:00 2001 From: MysterieDev Date: Mon, 22 Apr 2024 14:28:57 +0200 Subject: [PATCH] update config --- init.lua | 8 +++++++- lua/custom/plugins/ale.lua | 1 + 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/init.lua b/init.lua index 6aaaed6b..0e2c5c96 100644 --- a/init.lua +++ b/init.lua @@ -558,10 +558,16 @@ require('lazy').setup({ -- https://github.com/pmizio/typescript-tools.nvim -- -- But for many setups, the LSP (`tsserver`) will work just fine + -- npm install -g @vtsls/language-server vtsls = { refactor_auto_rename = true }, + -- neccesary for cssls and html + -- npm i -g vscode-langservers-extracted cssls = {}, html = {}, + -- you have to add: npm i -g @olrtg/emmet-language-server + emmet_language_server = {}, terraformls = {}, + groovyls = {}, -- lua_ls = { @@ -717,7 +723,7 @@ require('lazy').setup({ -- This will auto-import if your LSP supports it. -- This will expand snippets if the LSP sent a snippet. [''] = cmp.mapping.confirm { select = true }, - + [''] = cmp.mapping.confirm { select = true }, -- Manually trigger a completion from nvim-cmp. -- Generally you don't need this, because nvim-cmp will display -- completions whenever it has completion options available. diff --git a/lua/custom/plugins/ale.lua b/lua/custom/plugins/ale.lua index d263fdfe..e7e7174d 100644 --- a/lua/custom/plugins/ale.lua +++ b/lua/custom/plugins/ale.lua @@ -3,6 +3,7 @@ return { config = function() -- Configuration goes here. local g = vim.g + g.ale_javascript_prettier_use_local_config = 1 g.ale_fixers = { typescript = { 'prettierd' }, html = { 'prettierd' },