mirror of
https://codeberg.org/leana8959/.files.git
synced 2025-12-06 22:59:15 +00:00
It's not very smart https://unix.stackexchange.com/questions/106526/stop-vim-from-messing-up-my-indentation-on-comments
39 lines
666 B
Lua
39 lines
666 B
Lua
M = {}
|
|
|
|
vim.o.hlsearch = false
|
|
vim.o.incsearch = true
|
|
vim.o.ignorecase = true
|
|
vim.o.smartcase = true
|
|
|
|
vim.o.number = true
|
|
vim.o.signcolumn = "yes"
|
|
|
|
vim.o.expandtab = true
|
|
|
|
vim.o.wrap = false -- Slows the editor
|
|
vim.o.linebreak = true
|
|
vim.o.breakindent = true
|
|
vim.o.filetype = "on"
|
|
|
|
vim.o.swapfile = false
|
|
vim.o.backup = false
|
|
vim.o.undofile = true
|
|
|
|
vim.o.termguicolors = true
|
|
vim.o.mouse = "a"
|
|
|
|
vim.o.autoindent = true
|
|
|
|
vim.o.scrolloff = 3
|
|
|
|
vim.o.showmode = false
|
|
|
|
vim.opt.listchars = { tab = "│ ", trail = "␣" }
|
|
vim.o.list = true
|
|
|
|
vim.o.splitright = true
|
|
vim.o.splitbelow = true
|
|
|
|
function M.matchit_let_in() vim.b.match_words = [[\<let\>:\<in\>]] end
|
|
|
|
return M
|