neovim -> hls
This commit is contained in:
20
home/programs/neovim/coc-settngs.json
Normal file
20
home/programs/neovim/coc-settngs.json
Normal file
@@ -0,0 +1,20 @@
|
|||||||
|
"languageserver": {
|
||||||
|
"haskell": {
|
||||||
|
"command": "haskell-language-server-wrapper",
|
||||||
|
"args": ["--lsp"],
|
||||||
|
"rootPatterns": ["*.cabal", "stack.yaml", "cabal.project", "package.yaml", "hie.yaml"],
|
||||||
|
"filetypes": ["haskell", "lhaskell"],
|
||||||
|
// Settings are optional, here are some example values
|
||||||
|
"settings": {
|
||||||
|
"haskell": {
|
||||||
|
"checkParents": "CheckOnSave",
|
||||||
|
"checkProject": true,
|
||||||
|
"maxCompletions": 40,
|
||||||
|
"formattingProvider": "ormolu",
|
||||||
|
"plugin": {
|
||||||
|
"stan": { "globalOn": true }
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -128,7 +128,7 @@ in {
|
|||||||
pkgs.vimUtils.packDir
|
pkgs.vimUtils.packDir
|
||||||
config.programs.neovim.finalPackage.passthru.packpathDirs
|
config.programs.neovim.finalPackage.passthru.packpathDirs
|
||||||
}/pack/myNeovimPackages/start",
|
}/pack/myNeovimPackages/start",
|
||||||
patterns = {"arkav", "Bekaboo", "catppuccin", "epwalsh", "folke", "ggandor", "HiPhish", "hrsh7th", "iamcco", "Joosep", "Julian", "karb94", "kylechui", "L3MON4D3", "lervag", "neovim", "numToStr", "nvim-lua", "nvim-lualine", "nvim-telescope", "nvim-tree", "nvim-treesitter", "Olical", "onsails", "PaterJason", "rafamadiz", "saadparwaiz1", "skanehira", "stevearc", "tpope", "windwp"},
|
patterns = {"arkav", "Bekaboo", "catppuccin", "epwalsh", "folke", "ggandor", "HiPhish", "hrsh7th", "iamcco", "Joosep", "Julian", "karb94", "kylechui", "L3MON4D3", "lervag", "neoclide", "neovim", "numToStr", "nvim-lua", "nvim-lualine", "nvim-telescope", "nvim-tree", "nvim-treesitter", "Olical", "onsails", "PaterJason", "rafamadiz", "saadparwaiz1", "skanehira", "stevearc", "tpope", "windwp"},
|
||||||
},
|
},
|
||||||
install = {
|
install = {
|
||||||
-- Safeguard in case we forget to install a plugin with Nix
|
-- Safeguard in case we forget to install a plugin with Nix
|
||||||
@@ -143,5 +143,6 @@ in {
|
|||||||
recursive = true;
|
recursive = true;
|
||||||
source = ./lua;
|
source = ./lua;
|
||||||
};
|
};
|
||||||
|
xdg.configFile."nvim/coc-settings.json".source = ./coc-settins.json;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user