From 8aaadac855377c1b6aeba199482b78c0b2b4e441 Mon Sep 17 00:00:00 2001 From: yongseokj Date: Mon, 9 Sep 2024 12:43:50 -0700 Subject: [PATCH] update on 9/9/2024 --- cpp.nvim | 1 + init.lua | 32 ++++++++++++++++++-------------- 2 files changed, 19 insertions(+), 14 deletions(-) create mode 100644 cpp.nvim diff --git a/cpp.nvim b/cpp.nvim new file mode 100644 index 00000000..1694e503 --- /dev/null +++ b/cpp.nvim @@ -0,0 +1 @@ +vim.o.expandtab=true diff --git a/init.lua b/init.lua index 81812a89..d81f1017 100644 --- a/init.lua +++ b/init.lua @@ -230,14 +230,14 @@ require('lazy').setup({ 'sindrets/diffview.nvim', }, - { + { "folke/flash.nvim", event = "VeryLazy", -- @type Flash.Config opts = {}, -- stylua: ignore 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" }, { "r", mode = "o", function() require("flash").remote() end, desc = "Remote Flash" }, { "R", mode = { "o", "x" }, function() require("flash").treesitter_search() end, desc = "Treesitter Search" }, @@ -348,11 +348,11 @@ require('lazy').setup({ -- i = { [''] = 'to_fuzzy_refine' }, -- }, -- }, - defaults = { - layout_config = { - preview_width = 0.7, - }, - }, + --defaults = { + -- layout_config = { + -- preview_width = 0.7, + -- }, + --}, pickers = { find_files = { find_command = { "rg", "--files", "-g", "!**/**Linux_x86_64/**", "-g", "!compile_commands.json"}, @@ -593,7 +593,7 @@ require('lazy').setup({ -- return vim.fn.getcwd() --end 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 }, -- 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", - dependencies = { "MunifTanjim/nui.nvim", "nvim-lua/plenary.nvim" }, - opts = { - max_count = 10, - restriction_mode = "hint", - } + 'ckipp01/nvim-jenkinsfile-linter', + requires = { "nvim-lua/plenary.nvim" } }, -- The following comments only work if you have downloaded the kickstart repo, not just copy pasted the