Удалил мусорные сниппеты и лсп для sql

This commit is contained in:
urec56 2025-06-13 23:25:34 +03:00
parent c0c8552509
commit 9584d54a5b
2 changed files with 8 additions and 7 deletions

View file

@ -24,7 +24,7 @@ return {
{
'rafamadriz/friendly-snippets',
config = function()
require('luasnip.loaders.from_vscode').lazy_load()
-- require('luasnip.loaders.from_vscode').lazy_load()
end,
},
},

View file

@ -206,12 +206,12 @@ return {
-- SQL
-- lspconfig.postgres_lsp.setup { force_setup = true }
lspconfig.sqls.setup {
on_attach = function(client)
-- Выключить форматирование
client.server_capabilities.documentFormattingProvider = false
end,
}
-- lspconfig.sqls.setup {
-- on_attach = function(client)
-- -- Выключить форматирование
-- client.server_capabilities.documentFormattingProvider = false
-- end,
-- }
-- Nix
lspconfig.nixd.setup {}
@ -307,6 +307,7 @@ return {
lspconfig.ltex.setup {
settings = {
ltex = {
enabled = { 'bibtex', 'context', 'context.tex', 'html', 'latex', 'markdown', 'org', 'restructuredtext', 'rsweave', 'go' },
additionalRules = {
enablePickyRules = true,
motherTongue = 'ru-RU',