feat(LSP): lspkind and sources

This commit is contained in:
NotAShelf 2023-04-18 01:48:44 +03:00
commit 104c21c904
No known key found for this signature in database
GPG key ID: F0D14CCB5ED5AA22
11 changed files with 143 additions and 50 deletions

View file

@ -7,14 +7,6 @@ with lib; let
cfg = config.vim.visuals;
in {
config = mkIf cfg.enable (mkMerge [
(mkIf cfg.lspkind.enable {
vim.startPlugins = ["lspkind"];
vim.luaConfigRC.lspkind = nvim.dag.entryAnywhere ''
-- lspkind
require'lspkind'.init()
'';
})
(mkIf cfg.indentBlankline.enable {
vim.startPlugins = ["indent-blankline"];
vim.luaConfigRC.indent-blankline = nvim.dag.entryAnywhere ''

View file

@ -18,12 +18,6 @@ with builtins; {
default = false;
};
lspkind.enable = mkOption {
type = types.bool;
description = "Enable vscode-like pictograms for lsp [lspkind]";
default = false;
};
scrollBar.enable = mkOption {
type = types.bool;
description = "Enable scrollbar [scrollbar.nvim]";