diff options
author | Cody Hiar <cody@hiar.ca> | 2023-06-26 10:14:47 -0600 |
---|---|---|
committer | Cody Hiar <cody@hiar.ca> | 2023-06-26 10:14:47 -0600 |
commit | 282e0b2a50734acc78a459aaa50ca3f95433f7c1 (patch) | |
tree | 81951cc304024f91c5afc164e9efede620c39e2a | |
parent | 2bfd0f732529d8aac8e6d89805d05fede0a1344b (diff) |
Add markdown folding
-rw-r--r-- | flake.nix | 1 | ||||
-rw-r--r-- | init.lua | 7 |
2 files changed, 8 insertions, 0 deletions
@@ -94,6 +94,7 @@ vim-bufkill emmet-vim tagbar + vim-markdown ]; }; }; @@ -58,6 +58,8 @@ vim.o.spelllang = "en_ca" vim.o.hidden = true -- Ask confirm on exit instead of error vim.o.confirm = true +-- If a filetype has folding enabled, make sure all folds are opened +vim.o.foldlevel=99 -- My Highlights vim.cmd [[ @@ -394,5 +396,10 @@ vim.cmd([[ let g:oscyank_term = 'default' ]]) + -- vim-bufkill vim.api.nvim_set_keymap('n', '<leader>bd', '<cmd>BD<cr>', { noremap = true }) + + +-- vim-markdown +vim.g.vim_markdown_auto_insert_bullets = 0 |