diff options
| author | Eugene Triguba <hello@eugenetriguba.com> | 2026-10-17 10:40:11 -0700 |
|---|---|---|
| committer | Eugene Triguba <hello@eugenetriguba.com> | 2026-10-17 10:40:11 -0700 |
| commit | ea127689e0ae2d39b49004be605e541ff80e2621 (patch) | |
| tree | abbe79e5e37792bd8ebea8f9ac788ff5b8aed704 /.config/nvim/after/ftplugin/markdown.lua | |
| download | openbsd-dotfiles-ea127689e0ae2d39b49004be605e541ff80e2621.zip | |
Initial Commit
Diffstat (limited to '.config/nvim/after/ftplugin/markdown.lua')
| -rw-r--r-- | .config/nvim/after/ftplugin/markdown.lua | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/.config/nvim/after/ftplugin/markdown.lua b/.config/nvim/after/ftplugin/markdown.lua new file mode 100644 index 0000000..4f56524 --- /dev/null +++ b/.config/nvim/after/ftplugin/markdown.lua @@ -0,0 +1,19 @@ +local opt_local = vim.opt_local + +opt_local.textwidth = 80 +opt_local.formatoptions:append { 't' } +opt_local.formatoptions:remove { 'l' } + +opt_local.wrap = true +opt_local.linebreak = true +opt_local.breakindent = true + +opt_local.spell = true +opt_local.spelllang = 'en_us' + +opt_local.expandtab = true +opt_local.tabstop = 2 +opt_local.shiftwidth = 2 + +opt_local.list = true +opt_local.listchars = 'tab:»·,trail:·' |