aboutsummaryrefslogtreecommitdiff
path: root/lua/user/lsp/ccls.lua
diff options
context:
space:
mode:
Diffstat (limited to 'lua/user/lsp/ccls.lua')
-rw-r--r--lua/user/lsp/ccls.lua11
1 files changed, 9 insertions, 2 deletions
diff --git a/lua/user/lsp/ccls.lua b/lua/user/lsp/ccls.lua
index 0082c39..f8817dc 100644
--- a/lua/user/lsp/ccls.lua
+++ b/lua/user/lsp/ccls.lua
@@ -7,6 +7,13 @@ end
vim.notify(vim.fn.expand('%:p'));
local extraArgs_opt = {};
+if string.match(vim.fn.expand('%:p'),"/home/aleksa/mygit/benet.rs/") then
+ vim.opt["shiftwidth"]=2;
+ vim.opt["tabstop"]=2;
+ vim.opt["expandtab"]=true;
+ vim.notify("jsx");
+end
+
if string.match(vim.fn.expand('%:p'),"/home/aleksa/mygit/oldrepos/mykernel/") then
extraArgs_opt = { "--sysroot=/opt/aleksa", "--gcc-toolchain=/opt/aleksa/usr/bin/i686-aleksa-gcc", };
--[[
@@ -17,8 +24,8 @@ if string.match(vim.fn.expand('%:p'),"/home/aleksa/mygit/oldrepos/mykernel/") th
vim.notify("mykernel");
end
-if string.match(vim.fn.expand('%:p'),"/media/files/git/") then
- extraArgs_opt = { "--sysroot=/media/files/git/staging", };
+if string.match(vim.fn.expand('%:p'),"/media/linux/") then
+ extraArgs_opt = { "--sysroot=/media/linux/staging/", };
vim.notify("linux");
end