update config

This commit is contained in:
MysterieDev 2024-04-22 14:28:57 +02:00
parent 57ebcec73a
commit a0898bea1f
2 changed files with 8 additions and 1 deletions

View File

@ -558,10 +558,16 @@ require('lazy').setup({
-- https://github.com/pmizio/typescript-tools.nvim -- https://github.com/pmizio/typescript-tools.nvim
-- --
-- But for many setups, the LSP (`tsserver`) will work just fine -- But for many setups, the LSP (`tsserver`) will work just fine
-- npm install -g @vtsls/language-server
vtsls = { refactor_auto_rename = true }, vtsls = { refactor_auto_rename = true },
-- neccesary for cssls and html
-- npm i -g vscode-langservers-extracted
cssls = {}, cssls = {},
html = {}, html = {},
-- you have to add: npm i -g @olrtg/emmet-language-server
emmet_language_server = {},
terraformls = {}, terraformls = {},
groovyls = {},
-- --
lua_ls = { lua_ls = {
@ -717,7 +723,7 @@ require('lazy').setup({
-- This will auto-import if your LSP supports it. -- This will auto-import if your LSP supports it.
-- This will expand snippets if the LSP sent a snippet. -- This will expand snippets if the LSP sent a snippet.
['<C-Enter>'] = cmp.mapping.confirm { select = true }, ['<C-Enter>'] = cmp.mapping.confirm { select = true },
['<D-^>'] = cmp.mapping.confirm { select = true },
-- Manually trigger a completion from nvim-cmp. -- Manually trigger a completion from nvim-cmp.
-- Generally you don't need this, because nvim-cmp will display -- Generally you don't need this, because nvim-cmp will display
-- completions whenever it has completion options available. -- completions whenever it has completion options available.

View File

@ -3,6 +3,7 @@ return {
config = function() config = function()
-- Configuration goes here. -- Configuration goes here.
local g = vim.g local g = vim.g
g.ale_javascript_prettier_use_local_config = 1
g.ale_fixers = { g.ale_fixers = {
typescript = { 'prettierd' }, typescript = { 'prettierd' },
html = { 'prettierd' }, html = { 'prettierd' },