refactor: clean up file tree, remove redundant code, formatting
This commit is contained in:
@@ -22,14 +22,6 @@ o.number = true
|
||||
o.relativenumber = true
|
||||
-- ──────────────────────────────────────────────────── sign column ──
|
||||
o.signcolumn = 'yes'
|
||||
-- ─────────────────────────────────────────────────────── markdown ──
|
||||
vim.api.nvim_create_autocmd('BufWinEnter', {
|
||||
pattern = { '*.md' },
|
||||
callback = function()
|
||||
o.colorcolumn = '+1,+2'
|
||||
o.textwidth = 80
|
||||
end,
|
||||
})
|
||||
-- ──────────────────────────────────────────────────── cursor line ──
|
||||
o.cursorline = true
|
||||
-- o.scrolloff = 999 -- keep cursor line centered
|
||||
@@ -95,4 +87,4 @@ o.ignorecase = true
|
||||
o.smartcase = true
|
||||
o.iskeyword:append('-') -- consider string-string as a whole word
|
||||
-- ───────────────────────────────────────────────────── completion ──
|
||||
o.completeopt = 'menu,preview,noselect'
|
||||
o.completeopt = 'menu,preview,noselect'
|
||||
Reference in New Issue
Block a user