Adding bash language server
This commit is contained in:
@@ -158,30 +158,6 @@ return {
|
||||
}
|
||||
|
||||
local servers = {
|
||||
--ts_ls = {
|
||||
-- init_options = {
|
||||
-- hostInfo = 'neovim',
|
||||
-- plugins = {
|
||||
-- {
|
||||
-- name = '@vue/typescript-plugin',
|
||||
-- --location = '', -- use local node_modules path
|
||||
-- location = vue_typescript_plugin_path,
|
||||
-- languages = { 'vue', 'javascript', 'typescript' },
|
||||
-- },
|
||||
-- },
|
||||
-- },
|
||||
-- filetypes = { 'javascript', 'javascriptreact', 'javascript.jsx', 'typescript', 'typescriptreact', 'typescript.tsx', 'vue' },
|
||||
--},
|
||||
-- Volar is deprecated in favor of vue_ls
|
||||
--volar = {
|
||||
-- filetypes = { 'typescript', 'javascript', 'javascriptreact', 'typescriptreact', 'vue' },
|
||||
-- init_options = {
|
||||
-- vue = {
|
||||
-- -- disable hybrid mode
|
||||
-- hybridMode = true,
|
||||
-- },
|
||||
-- },
|
||||
--}, -- hybrid mode is default
|
||||
vue_ls = {},
|
||||
vtsls = {
|
||||
filetypes = { 'typescript', 'javascript', 'javascriptreact', 'typescriptreact', 'vue' },
|
||||
@@ -212,19 +188,6 @@ return {
|
||||
enable = true,
|
||||
},
|
||||
},
|
||||
-- on_attach = function(client, bufnr)
|
||||
-- client.server_capabilities.documentFormattingProvider = true
|
||||
-- if client.server_capabilities.documentFormattingProvider then
|
||||
-- local au_lsp = vim.api.nvim_create_augroup('eslint_lsp', { clear = true })
|
||||
-- vim.api.nvim_create_autocmd('BufWritePre', {
|
||||
-- pattern = '*',
|
||||
-- callback = function()
|
||||
-- vim.lsp.buf.format { async = true }
|
||||
-- end,
|
||||
-- group = au_lsp,
|
||||
-- })
|
||||
-- end
|
||||
-- end,
|
||||
},
|
||||
html = {},
|
||||
cssls = {},
|
||||
@@ -289,6 +252,7 @@ return {
|
||||
},
|
||||
powershell_es = {},
|
||||
intelephense = {},
|
||||
bashls = {},
|
||||
}
|
||||
|
||||
-- Ensure the servers and tools above are installed
|
||||
|
||||
Reference in New Issue
Block a user