aboutsummaryrefslogtreecommitdiffstats
path: root/.config/nvim/after/ftplugin/markdown.lua
blob: 4f565249537e82eb6977871592d10a0749146fe6 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
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:·'