Удалил мусорные сниппеты и лсп для sql
This commit is contained in:
parent
c0c8552509
commit
9584d54a5b
2 changed files with 8 additions and 7 deletions
|
@ -24,7 +24,7 @@ return {
|
||||||
{
|
{
|
||||||
'rafamadriz/friendly-snippets',
|
'rafamadriz/friendly-snippets',
|
||||||
config = function()
|
config = function()
|
||||||
require('luasnip.loaders.from_vscode').lazy_load()
|
-- require('luasnip.loaders.from_vscode').lazy_load()
|
||||||
end,
|
end,
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|
|
@ -206,12 +206,12 @@ return {
|
||||||
|
|
||||||
-- SQL
|
-- SQL
|
||||||
-- lspconfig.postgres_lsp.setup { force_setup = true }
|
-- lspconfig.postgres_lsp.setup { force_setup = true }
|
||||||
lspconfig.sqls.setup {
|
-- lspconfig.sqls.setup {
|
||||||
on_attach = function(client)
|
-- on_attach = function(client)
|
||||||
-- Выключить форматирование
|
-- -- Выключить форматирование
|
||||||
client.server_capabilities.documentFormattingProvider = false
|
-- client.server_capabilities.documentFormattingProvider = false
|
||||||
end,
|
-- end,
|
||||||
}
|
-- }
|
||||||
|
|
||||||
-- Nix
|
-- Nix
|
||||||
lspconfig.nixd.setup {}
|
lspconfig.nixd.setup {}
|
||||||
|
@ -307,6 +307,7 @@ return {
|
||||||
lspconfig.ltex.setup {
|
lspconfig.ltex.setup {
|
||||||
settings = {
|
settings = {
|
||||||
ltex = {
|
ltex = {
|
||||||
|
enabled = { 'bibtex', 'context', 'context.tex', 'html', 'latex', 'markdown', 'org', 'restructuredtext', 'rsweave', 'go' },
|
||||||
additionalRules = {
|
additionalRules = {
|
||||||
enablePickyRules = true,
|
enablePickyRules = true,
|
||||||
motherTongue = 'ru-RU',
|
motherTongue = 'ru-RU',
|
||||||
|
|
Loading…
Add table
Reference in a new issue