mirror of
https://github.com/NotAShelf/nvf.git
synced 2025-09-06 18:31:35 +00:00
plugins/languages: add haskell support (#499)
* plugins/languages: add haskell support Closes #426 * fix docs --------- Co-authored-by: Artur Manuel <balkenix@outlook.com> Co-authored-by: raf <raf@notashelf.dev>
This commit is contained in:
parent
a0a57757a0
commit
e715463257
7 changed files with 136 additions and 2 deletions
|
@ -13,7 +13,7 @@
|
|||
inherit (lib.types) bool package str listOf either enum;
|
||||
inherit (lib.nvim.types) mkGrammarOption;
|
||||
inherit (lib.nvim.lua) expToLua;
|
||||
inherit (lib.nvim.dag) entryAnywhere;
|
||||
inherit (lib.nvim.dag) entryAfter entryAnywhere;
|
||||
|
||||
cfg = config.vim.languages.rust;
|
||||
|
||||
|
@ -127,7 +127,7 @@ in {
|
|||
vim = {
|
||||
startPlugins = ["rustaceanvim"];
|
||||
|
||||
luaConfigRC.rustaceanvim = entryAnywhere ''
|
||||
pluginRC.rustaceanvim = entryAfter ["lsp-setup"] ''
|
||||
vim.g.rustaceanvim = {
|
||||
${optionalString cfg.lsp.enable ''
|
||||
-- LSP
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue