basic C lang support
All checks were successful
Build neovim image / build-neovim-amd64 (push) Successful in 6m31s
Build neovim image / build-neovim-arm64 (push) Successful in 32m54s
Build neovim image / update-images-manifest (push) Successful in 16s

This commit is contained in:
Maciej Lebiest 2025-07-13 20:40:39 +02:00
parent 9f2c4dcda7
commit a56468eefe
4 changed files with 13 additions and 2 deletions

View file

@ -20,7 +20,8 @@ ENV NEOVIM_PKGS="\
wl-clipboard \
ansible-config \
ansible \
libicu"
libicu \
cmake"
ENV GENERAL_PKGS="\
tar \
@ -33,6 +34,7 @@ ENV MASON_PKGS=" \
css-lsp \
cssmodules-language-server \
dockerfile-language-server \
cmake-language-server \
html-lsp \
json-lsp \
marksman \

View file

@ -29,5 +29,6 @@ return {
-- - { exclude: string[] }: All servers set up via lspconfig, except the ones provided in the list, are automatically installed.
-- Example: automatic_installation = { exclude = { "rust_analyzer", "solargraph" } }
automatic_installation = true,
automatic_enable = true
}
}

View file

@ -191,5 +191,13 @@ return {
on_attach = on_attach,
capabilities = capabilities,
}
require 'lspconfig'.clangd.setup {
on_attach = on_attach,
capabilities = capabilities,
}
require 'lspconfig'.cmake.setup {
on_attach = on_attach,
capabilities = capabilities,
}
end
}

View file

@ -2,7 +2,7 @@ return function()
require 'nvim-treesitter.configs'.setup {
-- A list of parser names, or "all"
ensure_installed = { "helm", "awk", "bash", "comment",
"css", "csv", "devicetree", "diff", "dockerfile", "git_config",
"css", "csv", "c", "cmake", "devicetree", "diff", "dockerfile", "git_config",
"git_rebase", "gitattributes", "gitcommit",
"html", "htmldjango", "http", "ini",
"json", "kconfig",