diff options
author | opalmay <[email protected]> | 2023-01-07 17:03:03 +0200 |
---|---|---|
committer | GitHub <[email protected]> | 2023-01-07 17:03:03 +0200 |
commit | 5ae42b0c44c4237912dcea18457582b52d53804e (patch) | |
tree | 9dcc55b80e9293d36ccef3a3f3a0743e7dbcaeb2 /lua/lvim/core/lir.lua | |
parent | 719adbc4bb3a494073d1063bf2768bb2834e3916 (diff) |
feat: update setup tables (#3693)
* feat(nvim-tree): update setup table
* chore: lint
* fix: move option to correct place
* feat(illuminate): update setup table
* feat(which-key): update setup table
* feat(project.nvim): update setup table
* feat(gitsigns): update setup table
* chore: lint
* feat(lir): update setup table
Diffstat (limited to 'lua/lvim/core/lir.lua')
-rw-r--r-- | lua/lvim/core/lir.lua | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/lua/lvim/core/lir.lua b/lua/lvim/core/lir.lua index 7920f802..d60881e2 100644 --- a/lua/lvim/core/lir.lua +++ b/lua/lvim/core/lir.lua @@ -18,6 +18,7 @@ M.config = function() lvim.builtin.lir = vim.tbl_extend("force", lvim.builtin.lir, { show_hidden_files = false, + ignore = {}, -- { ".DS_Store" "node_modules" } etc. devicons_enable = true, mappings = { ["l"] = actions.edit, @@ -52,8 +53,8 @@ M.config = function() highlight_dirname = true, }, - -- -- You can define a function that returns a table to be passed as the third - -- -- argument of nvim_open_win(). + -- You can define a function that returns a table to be passed as the third + -- argument of nvim_open_win(). win_opts = function() local width = math.floor(vim.o.columns * 0.7) local height = math.floor(vim.o.lines * 0.7) @@ -61,8 +62,6 @@ M.config = function() border = "rounded", width = width, height = height, - -- row = 1, - -- col = math.floor((vim.o.columns - width) / 2), } end, }, @@ -76,9 +75,6 @@ M.config = function() ':<C-u>lua require"lir.mark.actions".toggle_mark("v")<CR>', { noremap = true, silent = true } ) - - -- echo cwd - -- vim.api.nvim_echo({ { vim.fn.expand "%:p", "Normal" } }, false, {}) end, }) end |