setup ccls
This commit is contained in:
parent
e70aa37fc0
commit
30247d1468
11
fnl/lsp.fnl
11
fnl/lsp.fnl
@ -14,6 +14,17 @@
|
||||
(lspconfig.gopls.setup {})
|
||||
(lspconfig.denols.setup {})
|
||||
|
||||
(global clang_args (if has('mac')
|
||||
["-I/usr/local/include"
|
||||
"-I/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1"
|
||||
"-I/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/12.0.0/include"
|
||||
"-I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include"
|
||||
"-I/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include"
|
||||
"-I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks"]
|
||||
[]))
|
||||
(lspconfig.ccls.setup
|
||||
{:init_options {:clang {:extraArgs clang_args}}})
|
||||
|
||||
(treesitter.setup {:ensure_installed ["c" "cpp" "python" "go" "rust" "javascript" "lua"]
|
||||
:highlight {:enable true}
|
||||
:indent {:enable true}})
|
||||
|
Loading…
Reference in New Issue
Block a user