Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 19 additions & 0 deletions lsp/clice.lua
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
---@brief
--- https://github.com/clice-io/clice
---
--- Clice is a next generation C++ language server

---@type vim.lsp.Config
return {
cmd = { 'clice', '--mode=pipe' },
filetypes = { 'cpp' },
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

may also want to add c here, since a c++ project may have both cpp and c files

root_markers = {
'.git/',
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
'.git/',
'.git',

'clice.toml',
'.clang-tidy',
'.clang-format',
'compile_commands.json',
'compile_flags.txt',
'configure.ac', -- AutoTools
},
}
Loading