summaryrefslogtreecommitdiffstats
path: root/.config/nvim/after/plugin/lsp.lua
diff options
context:
space:
mode:
authorJoe <rrbo@proton.me>2023-09-28 12:02:30 +0200
committerJoe <rrbo@proton.me>2023-09-28 12:02:30 +0200
commit2de889b866fa1411dec2ae7e8d5be46ebcb6b60b (patch)
tree0c41913f627e0e66958301dce31feee1b1188efb /.config/nvim/after/plugin/lsp.lua
parentup (diff)
downloaddotfiles-bsd-2de889b866fa1411dec2ae7e8d5be46ebcb6b60b.tar.gz
dotfiles-bsd-2de889b866fa1411dec2ae7e8d5be46ebcb6b60b.tar.bz2
dotfiles-bsd-2de889b866fa1411dec2ae7e8d5be46ebcb6b60b.tar.xz
dotfiles-bsd-2de889b866fa1411dec2ae7e8d5be46ebcb6b60b.tar.zst
dotfiles-bsd-2de889b866fa1411dec2ae7e8d5be46ebcb6b60b.zip
up
Diffstat (limited to '.config/nvim/after/plugin/lsp.lua')
-rw-r--r--.config/nvim/after/plugin/lsp.lua23
1 files changed, 9 insertions, 14 deletions
diff --git a/.config/nvim/after/plugin/lsp.lua b/.config/nvim/after/plugin/lsp.lua
index 9a57e24..9a423d3 100644
--- a/.config/nvim/after/plugin/lsp.lua
+++ b/.config/nvim/after/plugin/lsp.lua
@@ -49,7 +49,6 @@ local cmp_mappings = lsp.defaults.cmp_mappings({
lsp.set_preferences({
-- sign_icons = { }
-
sign_icons = {
Text = "󰉿",
Method = "󰆧",
@@ -99,19 +98,15 @@ cmp.setup {
local lspconfig = require'lspconfig'
lspconfig.ccls.setup {
- init_options = {
- compilationDatabaseDirectory = "build";
- index = {
- threads = 0;
- };
- clang = {
- excludeArgs = { "-frounding-math"} ;
- };
- }
+ init_options = {
+ compilationDatabaseDirectory = "build";
+ index = {
+ threads = 0;
+ };
+ clang = {
+ excludeArgs = { "-frounding-math"} ;
+ };
+ }
}
lsp.setup()
-
-require'lspconfig'.ccls.setup({
- cmd = { '/usr/bin/ccls' },
-})