diff options
Diffstat (limited to 'vim/mini.lua')
-rw-r--r-- | vim/mini.lua | 102 |
1 files changed, 51 insertions, 51 deletions
diff --git a/vim/mini.lua b/vim/mini.lua index 6f7ba57..92f9efe 100644 --- a/vim/mini.lua +++ b/vim/mini.lua | |||
@@ -983,24 +983,24 @@ require("lazy").setup({ | |||
983 | end, | 983 | end, |
984 | }, | 984 | }, |
985 | -- }}} | 985 | -- }}} |
986 | -- markview.nvim {{{ | 986 | -- -- markview.nvim {{{ |
987 | { | 987 | -- { |
988 | "OXY2DEV/markview.nvim", | 988 | -- "OXY2DEV/markview.nvim", |
989 | lazy = false, | 989 | -- lazy = false, |
990 | ft = "markdown", | 990 | -- ft = "markdown", |
991 | 991 | -- | |
992 | dependencies = { | 992 | -- dependencies = { |
993 | -- You may not need this if you don't lazy load | 993 | -- -- You may not need this if you don't lazy load |
994 | -- Or if the parsers are in your $RUNTIMEPATH | 994 | -- -- Or if the parsers are in your $RUNTIMEPATH |
995 | "nvim-treesitter/nvim-treesitter", | 995 | -- "nvim-treesitter/nvim-treesitter", |
996 | 996 | -- | |
997 | "nvim-tree/nvim-web-devicons" | 997 | -- "nvim-tree/nvim-web-devicons" |
998 | }, | 998 | -- }, |
999 | config = function() | 999 | -- config = function() |
1000 | vim.keymap.set('n', '\\m', ":Markview<CR>", { buffer = bufnr, desc = '' }) | 1000 | -- vim.keymap.set('n', '\\m', ":Markview<CR>", { buffer = bufnr, desc = '' }) |
1001 | end | 1001 | -- end |
1002 | }, | 1002 | -- }, |
1003 | -- }}} | 1003 | -- -- }}} |
1004 | 1004 | ||
1005 | -- lspconfig {{{ | 1005 | -- lspconfig {{{ |
1006 | -- Use :help lspconfig-all to check servers | 1006 | -- Use :help lspconfig-all to check servers |
@@ -1412,39 +1412,39 @@ require("lazy").setup({ | |||
1412 | }, | 1412 | }, |
1413 | 1413 | ||
1414 | -- }}} | 1414 | -- }}} |
1415 | -- lspsaga {{{ | 1415 | -- -- lspsaga {{{ |
1416 | { | 1416 | -- { |
1417 | 'nvimdev/lspsaga.nvim', | 1417 | -- 'nvimdev/lspsaga.nvim', |
1418 | dependencies = { | 1418 | -- dependencies = { |
1419 | 'nvim-treesitter/nvim-treesitter', -- optional | 1419 | -- 'nvim-treesitter/nvim-treesitter', -- optional |
1420 | 'nvim-tree/nvim-web-devicons', -- optional | 1420 | -- 'nvim-tree/nvim-web-devicons', -- optional |
1421 | }, | 1421 | -- }, |
1422 | config = function() | 1422 | -- config = function() |
1423 | require('lspsaga').setup({ | 1423 | -- require('lspsaga').setup({ |
1424 | autochdir = true, | 1424 | -- autochdir = true, |
1425 | }) | 1425 | -- }) |
1426 | vim.api.nvim_create_autocmd("LspAttach", { | 1426 | -- vim.api.nvim_create_autocmd("LspAttach", { |
1427 | group = custom_autocommands, | 1427 | -- group = custom_autocommands, |
1428 | pattern = "*", | 1428 | -- pattern = "*", |
1429 | callback = function(args) | 1429 | -- callback = function(args) |
1430 | local map = vim.api.nvim_buf_set_keymap | 1430 | -- local map = vim.api.nvim_buf_set_keymap |
1431 | map(0, "n", "gd", "<cmd>Lspsaga goto_definition<cr>", { silent = true, noremap = true }) | 1431 | -- map(0, "n", "gd", "<cmd>Lspsaga goto_definition<cr>", { silent = true, noremap = true }) |
1432 | map(0, "n", "gR", "<cmd>Lspsaga rename<cr>", { silent = true, noremap = true }) | 1432 | -- map(0, "n", "gR", "<cmd>Lspsaga rename<cr>", { silent = true, noremap = true }) |
1433 | map(0, "n", "gx", "<cmd>Lspsaga code_action<cr>", { silent = true, noremap = true }) | 1433 | -- map(0, "n", "gx", "<cmd>Lspsaga code_action<cr>", { silent = true, noremap = true }) |
1434 | map(0, "x", "gx", ":<c-u>Lspsaga range_code_action<cr>", { silent = true, noremap = true }) | 1434 | -- map(0, "x", "gx", ":<c-u>Lspsaga range_code_action<cr>", { silent = true, noremap = true }) |
1435 | map(0, "n", "K", "<cmd>Lspsaga hover_doc<cr>", { silent = true, noremap = true }) | 1435 | -- map(0, "n", "K", "<cmd>Lspsaga hover_doc<cr>", { silent = true, noremap = true }) |
1436 | map(0, "n", "go", "<cmd>Lspsaga show_line_diagnostics<cr>", { silent = true, noremap = true }) | 1436 | -- map(0, "n", "go", "<cmd>Lspsaga show_line_diagnostics<cr>", { silent = true, noremap = true }) |
1437 | map(0, "n", "gj", "<cmd>Lspsaga diagnostic_jump_next<cr>", { silent = true, noremap = true }) | 1437 | -- map(0, "n", "gj", "<cmd>Lspsaga diagnostic_jump_next<cr>", { silent = true, noremap = true }) |
1438 | map(0, "n", "gk", "<cmd>Lspsaga diagnostic_jump_prev<cr>", { silent = true, noremap = true }) | 1438 | -- map(0, "n", "gk", "<cmd>Lspsaga diagnostic_jump_prev<cr>", { silent = true, noremap = true }) |
1439 | 1439 | -- | |
1440 | -- Don't know why... Everytime when modeline is set and insert a single char | 1440 | -- -- Don't know why... Everytime when modeline is set and insert a single char |
1441 | -- while inside a fold, the fold closes. | 1441 | -- -- while inside a fold, the fold closes. |
1442 | vim.opt_local.modeline = false | 1442 | -- vim.opt_local.modeline = false |
1443 | end, | 1443 | -- end, |
1444 | }) | 1444 | -- }) |
1445 | end | 1445 | -- end |
1446 | }, | 1446 | -- }, |
1447 | -- }}} | 1447 | -- -- }}} |
1448 | -- -- conform {{{ | 1448 | -- -- conform {{{ |
1449 | -- { | 1449 | -- { |
1450 | -- "stevearc/conform.nvim", | 1450 | -- "stevearc/conform.nvim", |