default js/ts and python setup
This commit is contained in:
parent
f764b7bacd
commit
af466b6df8
12 changed files with 165 additions and 5 deletions
20
lua/custom/plugins/nx.lua
Normal file
20
lua/custom/plugins/nx.lua
Normal file
|
|
@ -0,0 +1,20 @@
|
|||
return {
|
||||
{
|
||||
"Equilibris/nx.nvim",
|
||||
|
||||
dependencies = {
|
||||
"nvim-telescope/telescope.nvim",
|
||||
},
|
||||
|
||||
opts = {
|
||||
nx_cmd_root = "npx nx",
|
||||
},
|
||||
|
||||
-- Plugin will load when you use these keys
|
||||
keys = {
|
||||
{ "<leader>nxa", "<cmd>Telescope nx actions<CR>", desc = "nx actions" },
|
||||
{ "<leader>nxg", "<cmd>Telescope nx generators<CR>", desc = "nx generators" },
|
||||
{ "<leader>nxf", "<cmd>wa | !npx nx format:write<CR><CR> | :checktime<CR>", desc = "nx format afected" }
|
||||
},
|
||||
},
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue