Skip to content

Instantly share code, notes, and snippets.

@degaart
Created June 7, 2025 07:18
Show Gist options
  • Save degaart/8c8a4c947079ab9c87925583c34018b1 to your computer and use it in GitHub Desktop.
Save degaart/8c8a4c947079ab9c87925583c34018b1 to your computer and use it in GitHub Desktop.
The answer to the question of life, the universe, and everything
==============================================================================
vim.lsp: require("vim.lsp.health").check()
- LSP log level : WARN
- Log path: /home/idiot/.local/state/nvim/lsp.log
- Log size: 77468 KB
vim.lsp: Active Clients ~
- lua_ls (id: 1)
- Version: 3.14.0
- Root directory: ~/Projects/gretra
- Command: { "lua-language-server" }
- Settings: {}
- Attached buffers: 1
- clangd (id: 2)
- Version: clangd version 20.1.0 (https://github.com/llvm/llvm-project 24a30daaa559829ad079f2ff7f73eb4e18095f88) linux+grpc x86_64-unknown-linux-gnu
- Root directory: ~/Projects/gretra
- Command: { "clangd" }
- Settings: {}
- Attached buffers: 5
vim.lsp: Enabled Configurations ~
- clangd:
- capabilities: {
offsetEncoding = { "utf-8", "utf-16" },
textDocument = {
completion = {
completionItem = {
commitCharactersSupport = false,
deprecatedSupport = true,
documentationFormat = { "markdown", "plaintext" },
insertReplaceSupport = true,
insertTextModeSupport = {
valueSet = { 1 }
},
labelDetailsSupport = true,
preselectSupport = false,
resolveSupport = {
properties = { "documentation", "detail", "additionalTextEdits", "command", "data" }
},
snippetSupport = true,
tagSupport = {
valueSet = { 1 }
}
},
completionList = {
itemDefaults = { "commitCharacters", "editRange", "insertTextFormat", "insertTextMode", "data" }
},
contextSupport = true,
editsNearCursor = true,
insertTextMode = 1
}
}
}
- cmd: { "clangd" }
- filetypes: c, cpp, objc, objcpp, cuda, proto
- on_attach: <function @/home/idiot/.local/share/nvim/lazy/nvim-lspconfig/lsp/clangd.lua:90>
- on_init: <function @/home/idiot/.local/share/nvim/lazy/nvim-lspconfig/lsp/clangd.lua:85>
- root_markers: .clangd, .clang-tidy, .clang-format, compile_commands.json, compile_flags.txt, configure.ac, .git
- lua_ls:
- capabilities: {
textDocument = {
completion = {
completionItem = {
commitCharactersSupport = false,
deprecatedSupport = true,
documentationFormat = { "markdown", "plaintext" },
insertReplaceSupport = true,
insertTextModeSupport = {
valueSet = { 1 }
},
labelDetailsSupport = true,
preselectSupport = false,
resolveSupport = {
properties = { "documentation", "detail", "additionalTextEdits", "command", "data" }
},
snippetSupport = true,
tagSupport = {
valueSet = { 1 }
}
},
completionList = {
itemDefaults = { "commitCharacters", "editRange", "insertTextFormat", "insertTextMode", "data" }
},
contextSupport = true,
insertTextMode = 1
}
}
}
- cmd: { "lua-language-server" }
- filetypes: lua
- root_markers: .luarc.json, .luarc.jsonc, .luacheckrc, .stylua.toml, stylua.toml, selene.toml, selene.yml, .git
vim.lsp: File Watcher ~
- file watching "(workspace/didChangeWatchedFiles)" disabled on all clients
vim.lsp: Position Encodings ~
- No buffers contain mixed position encodings
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment