a645036

Branches > main > a645036 > files / nvim / lua / lsp.lua

oops

Grahp, 2026-03-11

Commit: a6450363f4f5af428b5e10f9cef52e96bcf9e225
Parent: 458d25d

1 changed file:

nvim/lua/opts.lua modified (view file)

@@ -1,4 +1,4 @@---- Opts, loaded lazily+--- Opts, loaded before first paint! --- UI stuff is in ui.lua local o = vim.opt local autocmd = vim.api.nvim_create_autocmd@@ -8,21 +8,6 @@ o.softtabstop = 2 o.expandtab = true -o.swapfile = false-o.backup = false-o.undofile = true----- Flips how /g works in :s-o.gdefault = true----- Prevents o/<CR> on comments from starting a new comment-autocmd("Filetype", {pattern = "*", callback = function()-  o.formatoptions = ""-end})----- Completion-o.completeopt = {"menu", "menuone", "fuzzy"}- --- Loads vim builtin plugins after first paint --- Might not work if you try to `nvim foo.zip` or whatever o.loadplugins = false@@ -39,4 +24,21 @@   vim.cmd("runtime plugin/shada.vim")    vim.cmd("rshada")+++  --- Flips how /g works in :s+  o.gdefault = true++  --- Prevents o/<CR> on comments from starting a new comment+  autocmd("Filetype", {pattern = "*", callback = function()+    o.formatoptions = ""+  end})++  o.swapfile = false+  o.backup = false+  o.undofile = true++  --- Completion+  o.completeopt = {"menu", "menuone", "fuzzy"}+ end)