Spell check
Test Neovim config on push / build (ubuntu-20.04) (push) Failing after 21s Details

This commit is contained in:
Yannick Reiß 2025-02-01 07:17:01 +01:00
parent 5b1d0d66de
commit 443a0cb897
4 changed files with 20 additions and 4 deletions

View File

@ -7,7 +7,7 @@ end
-- @param
-- @short Verify installation of ada tools or install them.
local function setup_ada()
vim.keymap.set("n", "<leader>kk", ":!gnatpp %<cr>")
vim.keymap.set("n", "<leader>cb", ":!gnatpp %<cr>")
vim.opt.tabstop = 3
vim.opt.shiftwidth = 3
end

View File

@ -9,7 +9,7 @@ local linters = {
latex = { "proselint" },
tex = { "proselint" },
plaintex = { "proselint" },
ada = { "gnat", "gcc", "cspell" },
ada = { "gnat", "gcc", "adals", "cspell" },
}
vim.g.ale_linters = linters
@ -20,7 +20,7 @@ vim.g.ale_fixers = {
bash = { "bashate" },
c = { "astyle" },
latex = { "texlab", "textlint" },
tex = { "textlint" },
tex = { "textlint" },
lua = { "stylua" },
markdown = { "prettier", "pandoc" },
python = { "yapf" },

View File

@ -51,8 +51,24 @@ require("mason-lspconfig").setup_handlers({
function(texlab)
require("lspconfig")[texlab].setup({})
end,
function(als)
require("lspconfig")[als].setup({})
end,
})
require("lspconfig").verible.setup({
cmd = { "verible-verilog-ls", "--rules_config_search" },
})
-- @name get_config_file
-- @param
-- @short Get the configuration file.
local function get_config_file() end
require("lspconfig").als.setup({
settings = {
ada = {
projectFile = get_config_file(),
},
},
})

View File

@ -62,4 +62,4 @@ require("screenkey").setup({
},
})
-- vim.keymap.set("n", "<leader>kk", ":Screenkey<CR>")
vim.keymap.set("n", "<leader>kk", ":Screenkey<CR>")