fix: small fixes

This commit is contained in:
2026-08-29 15:54:35 +02:00
parent 93ba68bb33
commit c4d76c9025
3 changed files with 2 additions and 3 deletions
+1 -1
View File
@@ -23,7 +23,6 @@ require("vim._core.ui2").enable({ -- Enable new ui (requires nightly)
msg = { targets = "msg" }
})
-- Editing =====================================================================
vim.o.expandtab = true -- Convert tabs to spaces
vim.o.formatoptions = 'rqnl1j' -- Improve comment editing
@@ -34,6 +33,7 @@ vim.o.smartcase = true -- Respect case if search pattern has upper cas
vim.o.spelloptions = 'camel' -- Treat camelCase word parts as separate words
vim.o.tabstop = 2 -- Show tab as this number of spaces
vim.o.virtualedit = 'block' -- Allow going past end of line in blockwise mode
vim.opt.autoread = true -- Do not prompt to reread files on update
-- Pattern for a start of numbered list (used in `gw`).
vim.o.formatlistpat = [[^\s*[0-9\-\+\*]\+[\.\)]*\s\+]]
-1
View File
@@ -66,7 +66,6 @@ nmap_leader("ef",
nmap_leader("en", function() MiniNotify.show_history() end, "Notifications")
-- Find ========================================================================
nmap_leader("f:", function() MiniExtra.pickers.history({ scope = ":" }) end, '":" history')
nmap_leader("fb", function() MiniPick.builtin.buffers() end, "Buffers")
nmap_leader("fc", function() MiniExtra.pickers.git_commits() end, "Commits (all)")
nmap_leader("fC", function() MiniExtra.pickers.git_commits({ path = "%" }) end, "Commits (buf)")
+1 -1
View File
@@ -22,7 +22,7 @@ Config.now_if_args(function()
local filetypes = {
'html', 'css', 'lua', 'go', 'php', 'blade', 'sql', 'javascript',
'typescript', 'typescriptreact', 'dockerfile', 'yaml', 'markdown', 'dart',
'json', 'xml', 'toml', 'bash', 'gitcommit', 'diff', 'regex', 'zsh'
'json', 'xml', 'toml', 'bash', 'gitcommit', 'diff', 'regex', 'zsh', 'http'
}
Config.autocmd('FileType', filetypes, function(ev)