diff options
| author | Kyren223 <Kyren223@proton.me> | 2024-11-20 18:23:32 +0200 |
|---|---|---|
| committer | Kyren223 <Kyren223@proton.me> | 2024-11-20 18:23:32 +0200 |
| commit | 621e6f4bf444bad28002b6dece3971e0d9a5b5d3 (patch) | |
| tree | e485bb770031a44252190c84134470d09f5b6fdd /.config/nvim/lua/custom/config | |
| parent | 9a353362bbc122349ad1ce2722282cc6f929adda (diff) | |
Fixed git pager issues and lua lsp and formatting works
Diffstat (limited to '.config/nvim/lua/custom/config')
| -rw-r--r-- | .config/nvim/lua/custom/config/language-servers.lua | 60 |
1 files changed, 30 insertions, 30 deletions
diff --git a/.config/nvim/lua/custom/config/language-servers.lua b/.config/nvim/lua/custom/config/language-servers.lua index 5e62067..0f07d95 100644 --- a/.config/nvim/lua/custom/config/language-servers.lua +++ b/.config/nvim/lua/custom/config/language-servers.lua @@ -1,18 +1,18 @@ -- NOTE: a table or true to enable, false to disable return { - -- lua_ls = { - -- settings = { - -- diagnostics = { globals = { 'vim' } }, - -- telemetry = { enabled = false }, - -- hint = { enable = true }, - -- workspace = { - -- library = { - -- [vim.fn.expand('$VIMRUNTIME/lua')] = true, - -- [vim.fn.stdpath('config') .. '/lua'] = true, - -- }, - -- }, - -- }, - -- }, -- lua + lua_ls = { + settings = { + diagnostics = { globals = { 'vim' } }, + telemetry = { enabled = false }, + hint = { enable = true }, + workspace = { + library = { + [vim.fn.expand('$VIMRUNTIME/lua')] = true, + [vim.fn.stdpath('config') .. '/lua'] = true, + }, + }, + }, + }, -- lua -- clangd = { -- cmd = { -- 'clangd', @@ -65,7 +65,7 @@ return { -- ts_ls = true, -- javascript/typescript -- astro = true, -- astro framework -- mdx_analyzer = true, -- markdown with JS I think - -- -- marksman = true, -- Markdown LSP + -- marksman = true, -- Markdown LSP -- markdown_oxide = true, -- Markdown LSP but better -- gopls = { -- cmd = { 'gopls' }, @@ -111,20 +111,20 @@ return { -- }, -- }, -- Go LSP -- jdtls = true, -- java - -- -- sqlls = true, - -- -- sqls = { - -- -- on_attach = function(client, bufnr) - -- -- require('sqls').on_attach(client, bufnr) - -- -- end, - -- -- settings = { - -- -- sqls = { - -- -- connections = { - -- -- { - -- -- driver = 'sqlite3', - -- -- dataSourceName = '/home/kyren/projects/eko/server.db', - -- -- }, - -- -- }, - -- -- }, - -- -- }, - -- -- }, + -- sqlls = true, + -- sqls = { + -- on_attach = function(client, bufnr) + -- require('sqls').on_attach(client, bufnr) + -- end, + -- settings = { + -- sqls = { + -- connections = { + -- { + -- driver = 'sqlite3', + -- dataSourceName = '/home/kyren/projects/eko/server.db', + -- }, + -- }, + -- }, + -- }, + -- }, } |
