diff --git a/config/users/kat/dev/vim/default.nix b/config/users/kat/dev/vim/default.nix index d70c49cb..d05c634c 100644 --- a/config/users/kat/dev/vim/default.nix +++ b/config/users/kat/dev/vim/default.nix @@ -38,7 +38,10 @@ in source ${cocvim} ''; plugins = with pkgs.vimPlugins; [ + neorg + nvim-base16 nvim-treesitter + nvim-ts-rainbow coc-yaml coc-git coc-css diff --git a/config/users/kat/dev/vim/init.vim b/config/users/kat/dev/vim/init.vim index 4c70d86e..80cf058d 100644 --- a/config/users/kat/dev/vim/init.vim +++ b/config/users/kat/dev/vim/init.vim @@ -9,5 +9,24 @@ require'nvim-treesitter.configs'.setup { indent = { enable = true, }, + rainbow = { + enable = true, + extended_mode = true, -- Also highlight non-bracket delimiters like html tags, boolean or table: lang -> boolean + max_file_lines = nil, -- Do not enable for files with more than n lines, int + } } + require('neorg').setup { + -- Tell Neorg what modules to load + load = { + ["core.defaults"] = {}, -- Load all the default modules + ["core.norg.concealer"] = {}, -- Allows for use of icons + ["core.norg.dirman"] = { -- Manage your directories with Neorg + config = { + workspaces = { + my_workspace = "~/neorg" + } + } + } + }, + } EOF