update on 9/9/2024
This commit is contained in:
parent
f21db92115
commit
8aaadac855
30
init.lua
30
init.lua
|
|
@ -237,7 +237,7 @@ require('lazy').setup({
|
||||||
opts = {},
|
opts = {},
|
||||||
-- stylua: ignore
|
-- stylua: ignore
|
||||||
keys = {
|
keys = {
|
||||||
{ "s", mode = { "n", "x", "o" }, function() require("flash").jump() end, desc = "Flash" },
|
{ "f", mode = { "n", "x", "o" }, function() require("flash").jump() end, desc = "Flash" },
|
||||||
{ "S", mode = { "n", "x", "o" }, function() require("flash").treesitter() end, desc = "Flash Treesitter" },
|
{ "S", mode = { "n", "x", "o" }, function() require("flash").treesitter() end, desc = "Flash Treesitter" },
|
||||||
{ "r", mode = "o", function() require("flash").remote() end, desc = "Remote Flash" },
|
{ "r", mode = "o", function() require("flash").remote() end, desc = "Remote Flash" },
|
||||||
{ "R", mode = { "o", "x" }, function() require("flash").treesitter_search() end, desc = "Treesitter Search" },
|
{ "R", mode = { "o", "x" }, function() require("flash").treesitter_search() end, desc = "Treesitter Search" },
|
||||||
|
|
@ -348,11 +348,11 @@ require('lazy').setup({
|
||||||
-- i = { ['<c-enter>'] = 'to_fuzzy_refine' },
|
-- i = { ['<c-enter>'] = 'to_fuzzy_refine' },
|
||||||
-- },
|
-- },
|
||||||
-- },
|
-- },
|
||||||
defaults = {
|
--defaults = {
|
||||||
layout_config = {
|
-- layout_config = {
|
||||||
preview_width = 0.7,
|
-- preview_width = 0.7,
|
||||||
},
|
-- },
|
||||||
},
|
--},
|
||||||
pickers = {
|
pickers = {
|
||||||
find_files = {
|
find_files = {
|
||||||
find_command = { "rg", "--files", "-g", "!**/**Linux_x86_64/**", "-g", "!compile_commands.json"},
|
find_command = { "rg", "--files", "-g", "!**/**Linux_x86_64/**", "-g", "!compile_commands.json"},
|
||||||
|
|
@ -593,7 +593,7 @@ require('lazy').setup({
|
||||||
-- return vim.fn.getcwd()
|
-- return vim.fn.getcwd()
|
||||||
--end
|
--end
|
||||||
root_dir = function(fname)
|
root_dir = function(fname)
|
||||||
return require('lspconfig/util').root_pattern( unpack({'compile_commands.json', 'tree.make'}))(fname)
|
return require('lspconfig/util').root_pattern( unpack({'compile_commands.json'}))(fname)
|
||||||
end
|
end
|
||||||
},
|
},
|
||||||
-- gopls = {},
|
-- gopls = {},
|
||||||
|
|
@ -927,13 +927,17 @@ require('lazy').setup({
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
--{
|
||||||
|
-- "m4xshen/hardtime.nvim",
|
||||||
|
-- dependencies = { "MunifTanjim/nui.nvim", "nvim-lua/plenary.nvim" },
|
||||||
|
-- opts = {
|
||||||
|
-- max_count = 10,
|
||||||
|
-- restriction_mode = "hint",
|
||||||
|
-- }
|
||||||
|
--},
|
||||||
{
|
{
|
||||||
"m4xshen/hardtime.nvim",
|
'ckipp01/nvim-jenkinsfile-linter',
|
||||||
dependencies = { "MunifTanjim/nui.nvim", "nvim-lua/plenary.nvim" },
|
requires = { "nvim-lua/plenary.nvim" }
|
||||||
opts = {
|
|
||||||
max_count = 10,
|
|
||||||
restriction_mode = "hint",
|
|
||||||
}
|
|
||||||
},
|
},
|
||||||
|
|
||||||
-- The following comments only work if you have downloaded the kickstart repo, not just copy pasted the
|
-- The following comments only work if you have downloaded the kickstart repo, not just copy pasted the
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue