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 -- @param
-- @short Verify installation of ada tools or install them. -- @short Verify installation of ada tools or install them.
local function setup_ada() 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.tabstop = 3
vim.opt.shiftwidth = 3 vim.opt.shiftwidth = 3
end end

View File

@ -9,7 +9,7 @@ local linters = {
latex = { "proselint" }, latex = { "proselint" },
tex = { "proselint" }, tex = { "proselint" },
plaintex = { "proselint" }, plaintex = { "proselint" },
ada = { "gnat", "gcc", "cspell" }, ada = { "gnat", "gcc", "adals", "cspell" },
} }
vim.g.ale_linters = linters vim.g.ale_linters = linters

View File

@ -51,8 +51,24 @@ require("mason-lspconfig").setup_handlers({
function(texlab) function(texlab)
require("lspconfig")[texlab].setup({}) require("lspconfig")[texlab].setup({})
end, end,
function(als)
require("lspconfig")[als].setup({})
end,
}) })
require("lspconfig").verible.setup({ require("lspconfig").verible.setup({
cmd = { "verible-verilog-ls", "--rules_config_search" }, 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>")