idk
This commit is contained in:
parent
9d3d05066f
commit
88549fc9c6
5 changed files with 44 additions and 35 deletions
|
@ -4,5 +4,5 @@ require("mini.ai").setup({
|
|||
}
|
||||
})
|
||||
require("mini.jump").setup({})
|
||||
require("mini.sessions").setup({autowrite = false, directory = '~/projects/sessions'})
|
||||
require("mini.sessions").setup({autowrite = false, directory = '~/.local/nvimsessions'})
|
||||
|
||||
|
|
|
@ -94,7 +94,8 @@ local ViMode = {
|
|||
-- control the padding and make sure our string is always at least 2
|
||||
-- characters long. Plus a nice Icon.
|
||||
provider = function(self)
|
||||
return " %2("..self.mode_names[self.mode].."%)"
|
||||
--return " %2("..self.mode_names[self.mode].."%)"
|
||||
return "%2("..self.mode_names[self.mode].."%)"
|
||||
end,
|
||||
-- Same goes for the highlight. Now the foreground will change according to the current mode.
|
||||
hl = function(self)
|
||||
|
|
|
@ -6,18 +6,18 @@ require"nvim-treesitter.configs".setup {
|
|||
auto_install = true,
|
||||
indent = { enable = true, disable = { 'python' } },
|
||||
highlight = {
|
||||
enable = true,
|
||||
enable = true,
|
||||
},
|
||||
incremental_selection = {
|
||||
enable = true,
|
||||
keymaps = {
|
||||
init_selection = "gnn",
|
||||
node_incremental = "grn",
|
||||
scope_incremental = "grc",
|
||||
node_decremental = "grm",
|
||||
},
|
||||
enable = true,
|
||||
keymaps = {
|
||||
init_selection = "gnn",
|
||||
node_incremental = "grn",
|
||||
scope_incremental = "grc",
|
||||
node_decremental = "grm",
|
||||
},
|
||||
},
|
||||
}
|
||||
}
|
||||
|
||||
vim.wo.foldmethod = "expr"
|
||||
vim.wo.foldexpr = "nvim_treesitter#foldexpr()"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue