nvim: Load plugins lazily based on file type
This commit is contained in:
parent
47e71f7f16
commit
212cbed679
6 changed files with 12 additions and 0 deletions
|
|
@ -7,6 +7,8 @@ return {
|
|||
opts = {},
|
||||
},
|
||||
},
|
||||
lazy = true,
|
||||
ft = { "java", "go", "python" },
|
||||
keys = {
|
||||
{ "<leader>du", function() require("dapui").toggle({ }) end, desc = "Dap UI" },
|
||||
{ "<leader>de", function() require("dapui").eval() end, desc = "Eval", mode = {"n", "v"} },
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue