diff options
Diffstat (limited to 'lua/core')
| -rw-r--r-- | lua/core/dashboard.lua | 7 | ||||
| -rw-r--r-- | lua/core/galaxyline.lua | 2 | ||||
| -rw-r--r-- | lua/core/linter.lua | 2 | ||||
| -rw-r--r-- | lua/core/which-key.lua | 2 | 
4 files changed, 7 insertions, 6 deletions
| diff --git a/lua/core/dashboard.lua b/lua/core/dashboard.lua index 73f62c25..a1af5319 100644 --- a/lua/core/dashboard.lua +++ b/lua/core/dashboard.lua @@ -43,7 +43,8 @@ M.config = function()        },        d = {          description = { "  Settings           " }, -        command = ":e " .. CONFIG_PATH .. "/lv-config.lua", +        -- command = ":e " .. CONFIG_PATH .. "/lv-config.lua", +        command = ":e ~/.config/lvim/lv-config.lua",        },      }, @@ -67,8 +68,8 @@ M.setup = function()    --   command = "Telescope find_files cwd=" .. CONFIG_PATH,    -- },    -- e = {description = {'  Marks              '}, command = 'Telescope marks'} -  vim.cmd "let g:dashboard_session_directory = $HOME..'/.config/nvim/.sessions'" -  vim.cmd "let packages = len(globpath('~/.local/share/nvim/site/pack/packer/start', '*', 0, 1))" +  vim.cmd 'let g:dashboard_session_directory = "~/.config/lvim/.sessions"' +  vim.cmd "let packages = len(globpath('~/.local/share/lunarvim/site/pack/packer/start', '*', 0, 1))"    vim.api.nvim_exec(      [[ diff --git a/lua/core/galaxyline.lua b/lua/core/galaxyline.lua index 2cb175f4..f880e430 100644 --- a/lua/core/galaxyline.lua +++ b/lua/core/galaxyline.lua @@ -281,7 +281,7 @@ table.insert(gls.right, {      condition = condition.hide_in_width,      separator = " ",      separator_highlight = { "NONE", colors.alt_bg }, -    highlight = { colors.alt_bg, colors.alt_bg }, +    highlight = { colors.grey, colors.alt_bg },    },  }) diff --git a/lua/core/linter.lua b/lua/core/linter.lua index 676b0cf7..573d6d62 100644 --- a/lua/core/linter.lua +++ b/lua/core/linter.lua @@ -3,7 +3,7 @@ local M = {}  M.setup = function()    if O.lint_on_save then      require("lv-utils").define_augroups { -      autolint = { +      autolint_on_save = {          {            "BufWritePost",            "<buffer>", diff --git a/lua/core/which-key.lua b/lua/core/which-key.lua index ec64074b..47661df6 100644 --- a/lua/core/which-key.lua +++ b/lua/core/which-key.lua @@ -64,7 +64,7 @@ M.config = function()        ["w"] = { "<cmd>w!<CR>", "Save" },        ["q"] = { "<cmd>q!<CR>", "Quit" },        ["/"] = { "<cmd>CommentToggle<CR>", "Comment" }, -      ["c"] = { "<cmd>BufferClose<CR>", "Close Buffer" }, +      ["c"] = { "<cmd>BufferClose!<CR>", "Close Buffer" },        ["e"] = { "<cmd>lua require'core.nvimtree'.toggle_tree()<CR>", "Explorer" },        ["f"] = { "<cmd>Telescope find_files<CR>", "Find File" },        ["h"] = { '<cmd>let @/=""<CR>', "No Highlight" }, | 
