apllied config
This commit is contained in:
parent
5978ec3f28
commit
0874dcd113
15 changed files with 343 additions and 121 deletions
12
lua/lspconf/angular.lua
Normal file
12
lua/lspconf/angular.lua
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
local lspconfig = require 'lspconfig'
|
||||
|
||||
lspconfig.angularls.setup({
|
||||
on_attach = function()
|
||||
for _, server in ipairs(vim.lsp.buf_get_clients()) do
|
||||
if server.name == "tsserver" then
|
||||
local tsserver = vim.lsp.get_client_by_id(server.id)
|
||||
tsserver.server_capabilities.renameProvider = false
|
||||
end
|
||||
end
|
||||
end
|
||||
})
|
||||
Loading…
Add table
Add a link
Reference in a new issue