Add theme-set/switching logic, and minor nvim, tmux, obsidian changes
This commit is contained in:
@@ -40,7 +40,7 @@ return {
|
||||
},
|
||||
})
|
||||
|
||||
-- TODO: decide if needed/wanted
|
||||
-- TODO: decide if needed/wanted
|
||||
-- local treesitter_parser_config = require("nvim-treesitter.parsers").get_parser_configs()
|
||||
-- treesitter_parser_config.templ = {
|
||||
-- install_info = {
|
||||
@@ -53,21 +53,22 @@ return {
|
||||
-- vim.treesitter.language.register("templ", "templ")
|
||||
end
|
||||
},
|
||||
{
|
||||
"nvim-treesitter/nvim-treesitter-context",
|
||||
after = "nvim-treesitter",
|
||||
opts = {
|
||||
enable = false, -- can enable/disable via manual command
|
||||
multiwindow = false,
|
||||
max_lines = 0, -- lines the window should span; x <= 0 means no limit
|
||||
min_window_height = 10, -- min window height to enable; x <= 0 means no limit
|
||||
line_numbers = true,
|
||||
multiline_threshold = 40, -- max lines to show for a single context
|
||||
trim_scope = 'outer', -- 'inner', 'outer'; discard lines if max_lines exceeded
|
||||
mode = 'cursor', -- 'cursor', 'topline'; line used to calculate context
|
||||
separator = "-", -- 1 char, like '-'; only shown when >= 2 lines above
|
||||
zindex = 20, -- z-index of the context window
|
||||
on_attach = nil, -- (fun(buf: integer): boolean); return false to disable attaching
|
||||
},
|
||||
},
|
||||
-- {
|
||||
-- -- TODO: decide if needed/wanted
|
||||
-- "nvim-treesitter/nvim-treesitter-context",
|
||||
-- after = "nvim-treesitter",
|
||||
-- opts = {
|
||||
-- enable = false, -- can enable/disable via manual command
|
||||
-- multiwindow = false,
|
||||
-- max_lines = 0, -- lines the window should span; x <= 0 means no limit
|
||||
-- min_window_height = 10, -- min window height to enable; x <= 0 means no limit
|
||||
-- line_numbers = true,
|
||||
-- multiline_threshold = 40, -- max lines to show for a single context
|
||||
-- trim_scope = 'outer', -- 'inner', 'outer'; discard lines if max_lines exceeded
|
||||
-- mode = 'cursor', -- 'cursor', 'topline'; line used to calculate context
|
||||
-- separator = "-", -- 1 char, like '-'; only shown when >= 2 lines above
|
||||
-- zindex = 20, -- z-index of the context window
|
||||
-- on_attach = nil, -- (fun(buf: integer): boolean); return false to disable attaching
|
||||
-- },
|
||||
-- },
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user