mirror of
https://github.com/itme-brain/nixos.git
synced 2026-03-24 16:39:42 -04:00
Fixed
This commit is contained in:
parent
c2c25e636f
commit
73222cd555
1 changed files with 2 additions and 1 deletions
|
|
@ -38,10 +38,11 @@
|
||||||
local nvim_lsp = require('lspconfig')
|
local nvim_lsp = require('lspconfig')
|
||||||
|
|
||||||
local function on_attach(client, bufnr)
|
local function on_attach(client, bufnr)
|
||||||
client.resolved_capabilities.document_formatting = false
|
client.server_capabilities.document_formatting = false
|
||||||
require('lsp_signature').on_attach()
|
require('lsp_signature').on_attach()
|
||||||
end
|
end
|
||||||
|
|
||||||
|
-- Add / Remove LSP's HERE
|
||||||
local servers = {
|
local servers = {
|
||||||
tsserver = { cmd = { "tsserver", "--stdio" } },
|
tsserver = { cmd = { "tsserver", "--stdio" } },
|
||||||
pyright = { cmd = { "pyright-langserver", "--stdio" } },
|
pyright = { cmd = { "pyright-langserver", "--stdio" } },
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue