diff options
author | Yigit Sever | 2025-10-17 12:47:01 +0300 |
---|---|---|
committer | Yigit Sever | 2025-10-17 12:47:01 +0300 |
commit | 0b256ce88981c78a30c1dd20b4462d2f6cc26625 (patch) | |
tree | f2fb1325b9e6863f0b9aa723d93ac3c62c6266fe /.config | |
parent | 1e1807daa65236ea168cda4074f14cafdd61c782 (diff) | |
download | dotfiles-0b256ce88981c78a30c1dd20b4462d2f6cc26625.tar.gz dotfiles-0b256ce88981c78a30c1dd20b4462d2f6cc26625.tar.bz2 dotfiles-0b256ce88981c78a30c1dd20b4462d2f6cc26625.zip |
nvim: add clangd
Diffstat (limited to '.config')
-rw-r--r-- | .config/nvim/after/ftplugin/c.vim | 6 | ||||
-rw-r--r-- | .config/nvim/lua/plugins/lsp.lua | 2 |
2 files changed, 4 insertions, 4 deletions
diff --git a/.config/nvim/after/ftplugin/c.vim b/.config/nvim/after/ftplugin/c.vim index 25eeecd..41a9917 100644 --- a/.config/nvim/after/ftplugin/c.vim +++ b/.config/nvim/after/ftplugin/c.vim | |||
@@ -1,4 +1,4 @@ | |||
1 | setlocal tabstop=8 | 1 | setlocal tabstop=2 |
2 | setlocal softtabstop=8 | 2 | setlocal softtabstop=2 |
3 | setlocal shiftwidth=8 | 3 | setlocal shiftwidth=2 |
4 | setlocal noexpandtab | 4 | setlocal noexpandtab |
diff --git a/.config/nvim/lua/plugins/lsp.lua b/.config/nvim/lua/plugins/lsp.lua index e710fd7..cb3dcca 100644 --- a/.config/nvim/lua/plugins/lsp.lua +++ b/.config/nvim/lua/plugins/lsp.lua | |||
@@ -72,7 +72,7 @@ return { | |||
72 | 72 | ||
73 | -- misc. | 73 | -- misc. |
74 | local lspconfig = require('lspconfig') | 74 | local lspconfig = require('lspconfig') |
75 | local servers = { 'ts_ls', 'jsonls', 'eslint', 'cssls', 'html', 'vala_ls', 'gopls' } | 75 | local servers = { 'ts_ls', 'jsonls', 'eslint', 'cssls', 'html', 'vala_ls', 'gopls', 'clangd' } |
76 | for _, lsp in pairs(servers) do | 76 | for _, lsp in pairs(servers) do |
77 | lspconfig[lsp].setup { | 77 | lspconfig[lsp].setup { |
78 | on_attach = on_attach, | 78 | on_attach = on_attach, |