1
0
Fork 0
mirror of https://codeberg.org/Mo8it/dotfiles.git synced 2024-10-17 20:52:40 +00:00
dotfiles/.config/nvim/lua/options.lua
2022-11-02 16:18:21 +01:00

61 lines
733 B
Lua

local o = vim.o
--
o.mouse = ""
o.expandtab = true
o.tabstop = 4
o.shiftwidth = 4
o.smartindent = true
o.number = true
o.ignorecase = true
o.smartcase = true
o.gdefault = true
o.termguicolors = true
o.wrap = false
o.whichwrap = "b,s,h,l,<,>,[,]"
o.clipboard = "unnamedplus"
o.undofile = true
o.showmode = false
o.scrolloff = 3
o.sidescrolloff = 5
o.cursorline = true
o.shell = "/usr/bin/fish"
o.confirm = true
o.linebreak = true
o.laststatus = 3
o.cmdheight = 0
o.pumblend = 10
--
o.shortmess = o.shortmess .. "S"
--
-- set ft of .jinja.html files to htmldjango
vim.filetype.add({
pattern = {
[".+.jinja.html"] = "htmldjango",
[".+.tera.html"] = "htmldjango",
[".+.askama.html"] = "htmldjango",
},
})