aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCody Hiar <cody@hiar.ca>2023-06-26 10:14:47 -0600
committerCody Hiar <cody@hiar.ca>2023-06-26 10:14:47 -0600
commit282e0b2a50734acc78a459aaa50ca3f95433f7c1 (patch)
tree81951cc304024f91c5afc164e9efede620c39e2a
parent2bfd0f732529d8aac8e6d89805d05fede0a1344b (diff)
Add markdown folding
-rw-r--r--flake.nix1
-rw-r--r--init.lua7
2 files changed, 8 insertions, 0 deletions
diff --git a/flake.nix b/flake.nix
index e9e83c5..d183620 100644
--- a/flake.nix
+++ b/flake.nix
@@ -94,6 +94,7 @@
vim-bufkill
emmet-vim
tagbar
+ vim-markdown
];
};
};
diff --git a/init.lua b/init.lua
index bf3656e..d34744f 100644
--- a/init.lua
+++ b/init.lua
@@ -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