nvim nosmartindent, no flash search

This commit is contained in:
Henrik Bakken
2025-05-07 21:36:49 +02:00
parent 29464ceccf
commit 4ebfb82e8a
+2 -11
View File
@@ -43,7 +43,7 @@ vim.o.expandtab = true
vim.o.shiftround = true vim.o.shiftround = true
vim.o.shiftwidth = 2 vim.o.shiftwidth = 2
vim.o.tabstop = 2 vim.o.tabstop = 2
vim.o.smartindent = true vim.o.smartindent = false
-- Session options -- Session options
vim.opt.sessionoptions = { "buffers", "curdir", "tabpages", "winsize", "help", "globals", "skiprtp", "folds" } vim.opt.sessionoptions = { "buffers", "curdir", "tabpages", "winsize", "help", "globals", "skiprtp", "folds" }
@@ -1279,19 +1279,10 @@ local function makespec_flash()
"folke/flash.nvim", "folke/flash.nvim",
event = "VeryLazy", event = "VeryLazy",
opts = { opts = {
search = {
mode = "exact",
exclude = {
"notify",
"noice",
"flash_prompt",
function(win) return not vim.api.nvim_win_get_config(win).focusable end,
},
},
label = { uppercase = false }, label = { uppercase = false },
jump = { autojump = false }, jump = { autojump = false },
modes = { modes = {
search = { enabled = true }, search = { enabled = false },
char = { char = {
jump = { autojump = true }, jump = { autojump = true },
char_actions = function(motion) char_actions = function(motion)