optional lsp for c/c++ and swift
This commit is contained in:
parent
60b783b822
commit
766fd78e81
16
fnl/lsp.fnl
16
fnl/lsp.fnl
@ -14,14 +14,14 @@
|
||||
(lspconfig.rust_analyzer.setup {})
|
||||
(lspconfig.gopls.setup {})
|
||||
(lspconfig.denols.setup {})
|
||||
(lspconfig.sourcekit.setup {})
|
||||
(lspconfig.ccls.setup
|
||||
{:init_options {:clang {:extraArgs ["-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.sourcekit.setup {})
|
||||
; (lspconfig.ccls.setup
|
||||
; {:init_options {:clang {:extraArgs ["-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"]}}})
|
||||
|
||||
(treesitter.setup {:ensure_installed ["c" "cpp" "python" "go" "rust" "javascript" "lua"]
|
||||
:highlight {:enable true}
|
||||
|
Loading…
Reference in New Issue
Block a user