restructure options file

lsp support fiddling
This commit is contained in:
Jeff committed 2026-11-09 22:53:30 +01:00
1 parent e6c1f7d501
commit 6d9cb3f7a1
2 files changed
+18 -9

No files matched your search

+5
View File
@@ -0,0 +1,5 @@
return {
cmd = {'lua-language-server'},
filetypes = {'lua'},
root_markers = {'.luarc.json', '.luarc.jsonc'},
}
+13 -9
View File
@@ -2,10 +2,22 @@ vim.opt.guicursor = "n-c-v-sm:block-blinkon0,i-ci-r-cr-o:block-blinkon200-blinko
vim.opt.nu = true
vim.opt.relativenumber = true
vim.opt.signcolumn = "yes" -- indicator column next to line nubers
vim.opt.scrolloff = 8
-- vim.opt.scrolloffpad = 8 -- enable scrolloff even at end of file
vim.opt.sidescrolloff = 10 -- horizontal scrolloff, useless with soft wrap?
vim.opt.wrap = false -- TODO add this option on fily type basis
vim.opt.smoothscroll = true
vim.opt.cursorline = true
vim.opt.cursorlineopt = "both"
vim.opt.colorcolumn = "80,120"
vim.opt.tabstop = 4
vim.opt.softtabstop = 4
vim.opt.shiftwidth = 4
@@ -13,17 +25,9 @@ vim.opt.expandtab = false
vim.opt.smartindent = true
vim.opt.wrap = false
vim.opt.smoothscroll = true
vim.opt.hlsearch = false
vim.opt.incsearch = true
vim.opt.termguicolors = true
vim.opt.showmode = false
vim.opt.scrolloff = 8
-- vim.opt.scrolloffpad = 8
vim.opt.signcolumn = "yes"
vim.opt.colorcolumn = "80,120"
vim.opt.showmode = false -- not needed with luabar