nvim/ftplugin: agda support

This commit is contained in:
Primrose 2026-01-24 21:22:12 +01:00
parent 9c6bfa1058
commit a1a918193a
Signed by: primrose
GPG key ID: 4E887A4CA9714ADA
3 changed files with 191 additions and 1 deletions

View file

@ -124,7 +124,12 @@ local plugins = {
"agda/cornelis",
name = "cornelis",
ft = "agda",
init = function() vim.g.cornelis_use_global_binary = 1 end,
init = function()
vim.g.cornelis_use_global_binary = 1
-- We don't use the default binding for shortcuts (see ftplugin)
-- Also, buffer reload is done in the ftplugin too
vim.g.cornelis_no_agda_input = 1
end,
dependencies = { "neovimhaskell/nvim-hs.vim", "kana/vim-textobj-user" },
version = "*",
},