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

62 lines
733 B
Lua
Raw Normal View History

2022-05-04 20:49:26 +00:00
local o = vim.o
2022-03-20 04:22:56 +00:00
--
2022-08-21 22:09:10 +00:00
o.mouse = ""
2022-05-04 20:49:26 +00:00
o.expandtab = true
o.tabstop = 4
o.shiftwidth = 4
o.smartindent = true
2022-03-20 04:22:56 +00:00
2022-05-04 20:49:26 +00:00
o.number = true
2022-03-20 04:22:56 +00:00
2022-05-04 20:49:26 +00:00
o.ignorecase = true
o.smartcase = true
2022-03-20 04:22:56 +00:00
2022-05-04 20:49:26 +00:00
o.gdefault = true
2022-03-20 04:22:56 +00:00
2022-05-04 20:49:26 +00:00
o.termguicolors = true
2022-03-20 04:22:56 +00:00
2022-05-04 20:49:26 +00:00
o.wrap = false
2022-03-20 04:22:56 +00:00
2022-05-04 20:49:26 +00:00
o.whichwrap = "b,s,h,l,<,>,[,]"
2022-03-20 04:22:56 +00:00
2022-05-04 20:49:26 +00:00
o.clipboard = "unnamedplus"
2022-03-20 04:22:56 +00:00
2022-05-04 20:49:26 +00:00
o.undofile = true
2022-03-20 04:22:56 +00:00
2022-05-04 20:49:26 +00:00
o.showmode = false
2022-03-20 04:22:56 +00:00
2022-05-04 20:49:26 +00:00
o.scrolloff = 3
o.sidescrolloff = 5
2022-03-20 04:22:56 +00:00
2022-05-04 20:49:26 +00:00
o.cursorline = true
2022-03-20 04:22:56 +00:00
2022-05-04 20:49:26 +00:00
o.shell = "/usr/bin/fish"
2022-03-20 04:22:56 +00:00
2022-05-04 20:49:26 +00:00
o.confirm = true
2022-03-20 04:22:56 +00:00
2022-05-04 20:49:26 +00:00
o.linebreak = true
2022-03-21 21:51:01 +00:00
2022-05-04 20:49:26 +00:00
o.laststatus = 3
2022-05-01 12:36:25 +00:00
2022-10-29 09:24:56 +00:00
o.cmdheight = 0
2022-05-06 21:15:46 +00:00
o.pumblend = 10
2022-09-08 22:21:23 +00:00
--
2022-06-30 02:27:06 +00:00
o.shortmess = o.shortmess .. "S"
2022-09-11 17:33:21 +00:00
--
-- set ft of .jinja.html files to htmldjango
vim.filetype.add({
pattern = {
[".+.jinja.html"] = "htmldjango",
2022-10-29 09:24:40 +00:00
[".+.tera.html"] = "htmldjango",
2022-11-02 15:18:21 +00:00
[".+.askama.html"] = "htmldjango",
2022-09-11 17:33:21 +00:00
},
})