feat(nvim): enable vimwiki

This commit is contained in:
Michael Mandl 2024-07-27 22:22:59 +02:00 committed by Michael Mandl
parent 1e7b654477
commit 22a18418ac
Signed by: mandlm
GPG key ID: 088ED38F036C7AF2
6 changed files with 34 additions and 5 deletions

View file

@ -1,4 +1,4 @@
{ pkgs, theme, ... }:
{ pkgs, theme, vimwikiPath, ... }:
{
# symlink for a stable path
home.file.".vscode-extensions/vscode-lldb".source = pkgs.vscode-extensions.vadimcn.vscode-lldb;
@ -81,7 +81,7 @@
lsp-status-nvim
rustaceanvim
neodev-nvim
null-ls-nvim
none-ls-nvim
lsp_lines-nvim
lsp-inlayhints-nvim
@ -92,6 +92,9 @@
# neorg
neorg
neorg-telescope
# vim-wiki
vimwiki
];
withNodeJs = true;
@ -102,8 +105,8 @@
terraform-ls
tflint
bash-language-server
prettierd
nodePackages.yaml-language-server
nodePackages.prettier
nodePackages.eslint_d
nodePackages.typescript-language-server
nodePackages.typescript
@ -128,6 +131,9 @@
#clipboard
xclip
#vimwiki
vimwiki-markdown
];
extraLuaPackages = luaPackages: [
@ -165,6 +171,11 @@
${builtins.readFile ./illuminate.lua }
${builtins.readFile ./wilder.lua }
do
local vimwiki_path = "${vimwikiPath}"
${builtins.readFile ./vimwiki.lua }
end
vim.g.gitblame_date_format = "%r"
require("nvim-autopairs").setup({})