blob: 98cdc0bc9afb8439d6521d5c31f9960d6f343129 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
vim.opt_local.textwidth = vim.g.dotfiles.textwidth.gitcommit -- gw wraps at this value
vim.opt_local.colorcolumn = "+1" -- Highlight one column after 'textwidth'
vim.opt_local.tabstop = 2 -- CommonMark expects two spaces for indentation
vim.opt_local.shiftwidth = 0
vim.opt_local.softtabstop = -1
vim.opt_local.expandtab = true -- Change tabs to spaces
vim.opt_local.spelllang = "en_us"
vim.opt_local.complete = {
"w", -- other windows
".", -- current buffer
}
vim.opt_local.spell = true
|