remove sql lsp
This commit is contained in:
parent
14511ca5b1
commit
67b50ac321
1 changed files with 0 additions and 19 deletions
|
|
@ -208,25 +208,6 @@ return {
|
|||
-- local util = require 'lspconfig.util'
|
||||
local lspconfig = require 'lspconfig'
|
||||
|
||||
-- require('lspconfig.configs').postgres_lsp = {
|
||||
-- default_config = {
|
||||
-- name = 'postgres_lsp',
|
||||
-- cmd = { 'postgres_lsp' },
|
||||
-- filetypes = { 'sql' },
|
||||
-- single_file_support = true,
|
||||
-- root_dir = util.root_pattern 'root-file.txt',
|
||||
-- },
|
||||
-- }
|
||||
|
||||
-- SQL
|
||||
-- lspconfig.postgres_lsp.setup { force_setup = true }
|
||||
lspconfig.sqls.setup {
|
||||
on_attach = function(client)
|
||||
-- Выключить форматирование
|
||||
client.server_capabilities.documentFormattingProvider = false
|
||||
end,
|
||||
}
|
||||
|
||||
-- Nix
|
||||
lspconfig.nixd.setup {}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue