new dev env vim plugins

This commit is contained in:
kat witch 2021-09-01 01:02:23 +01:00
parent 068e80a6a6
commit f0850bf2a4
No known key found for this signature in database
GPG key ID: 1B477797DCA5EC72
2 changed files with 22 additions and 0 deletions

View file

@ -38,7 +38,10 @@ in
source ${cocvim} source ${cocvim}
''; '';
plugins = with pkgs.vimPlugins; [ plugins = with pkgs.vimPlugins; [
neorg
nvim-base16
nvim-treesitter nvim-treesitter
nvim-ts-rainbow
coc-yaml coc-yaml
coc-git coc-git
coc-css coc-css

View file

@ -9,5 +9,24 @@ require'nvim-treesitter.configs'.setup {
indent = { indent = {
enable = true, 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 EOF