configs/neovim: update obsidian-nvim, disable markdown folding

This commit is contained in:
Aaron Bieber 2023-03-23 15:22:03 -06:00
parent e43255c98a
commit 3b1660e06a
No known key found for this signature in database
2 changed files with 4 additions and 2 deletions

View File

@ -95,3 +95,5 @@ vim.keymap.set('n', '<leader>ff', builtin.find_files, {})
vim.keymap.set('n', '<leader>fg', builtin.live_grep, {})
vim.keymap.set('n', '<leader>fb', builtin.buffers, {})
vim.keymap.set('n', '<leader>fh', builtin.help_tags, {})
vim.g["vim_markdown_folding_disabled"] = 1

View File

@ -23,12 +23,12 @@ let
};
obsidian = pkgs.vimUtils.buildVimPluginFrom2Nix rec {
pname = "obsidian-nvim";
version = "1.6.1";
version = "1.7.0"; # 1.8.0 has breaking changes
src = pkgs.fetchFromGitHub {
owner = "epwalsh";
repo = "obsidian.nvim";
rev = "v${version}";
sha256 = "sha256-2VxDk5FHpVMxPR/or9ZsaaDOLlaraOHJoN7C8JI0+24=";
sha256 = "sha256-pMYvtNEYoVFaWlj35F1rDlfJkNY4y4S62RNpHBNBgto=";
fetchSubmodules = true;
};
dependencies = with vimPlugins; [ nvim-cmp tabular ];