Compare commits
No commits in common. "d4be10dddacf1a120eca310461f2051a0d5ffc6d" and "12a5420ee928e05fddb522aad77a8a52874e52b3" have entirely different histories.
d4be10ddda
...
12a5420ee9
2 changed files with 2 additions and 36 deletions
|
@ -316,32 +316,8 @@ with builtins;
|
||||||
keys = [
|
keys = [
|
||||||
{ key = "<leader>tz"; cmd = "<cmd>ZenMode<cr>"; desc = "Zen mode"; }
|
{ key = "<leader>tz"; cmd = "<cmd>ZenMode<cr>"; desc = "Zen mode"; }
|
||||||
];
|
];
|
||||||
conf = /* lua */ ''
|
|
||||||
require("zen-mode").setup({
|
|
||||||
plugins = {
|
|
||||||
tmux = {
|
|
||||||
enabled = true,
|
|
||||||
},
|
|
||||||
},
|
|
||||||
})
|
|
||||||
'';
|
|
||||||
dependencies = [
|
dependencies = [
|
||||||
{
|
{ plugin = twilight-nvim; }
|
||||||
plugin = twilight-nvim;
|
|
||||||
conf = /* lua */ ''
|
|
||||||
require("twilight").setup({
|
|
||||||
context = 20,
|
|
||||||
expand = { -- for treesitter, we we always try to expand to the top-most ancestor with these types
|
|
||||||
"function",
|
|
||||||
"function_definition",
|
|
||||||
"if_statement",
|
|
||||||
"method",
|
|
||||||
"method_definition",
|
|
||||||
"table",
|
|
||||||
},
|
|
||||||
})
|
|
||||||
'';
|
|
||||||
}
|
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
|
|
|
@ -52,17 +52,7 @@ local on_attach_def = function(client, bufnr)
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
t = {
|
t = {
|
||||||
l = {
|
l = { lsp_lines.toggle, "LSP lines" },
|
||||||
function()
|
|
||||||
lsp_lines.toggle()
|
|
||||||
if vim.diagnostic.is_disabled() then
|
|
||||||
vim.diagnostic.enable()
|
|
||||||
else
|
|
||||||
vim.diagnostic.disable()
|
|
||||||
end
|
|
||||||
end,
|
|
||||||
"LSP lines",
|
|
||||||
},
|
|
||||||
i = {
|
i = {
|
||||||
function()
|
function()
|
||||||
vim.lsp.inlay_hint(bufnr, nil)
|
vim.lsp.inlay_hint(bufnr, nil)
|
||||||
|
|
Loading…
Reference in a new issue