-
Notifications
You must be signed in to change notification settings - Fork 1
/
command_palette.lua
31 lines (31 loc) · 1.25 KB
/
command_palette.lua
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
return {
{ "Servers",
{ "Restart lua-ls", ":LspRestart lua-ls" },
{ "Restart eslint_d", ":!eslint_d restart" },
{ "Restart tsserver", ":LspRestart tsserver" },
},
{ "File",
{ "inspect types", ":InspectTwoslashQueries", },
},
{ "Packages",
{ "Update Plugins and Mason", ":AstroUpdatePackages" },
{ "Mason Update", ":MasonUpdateAll" },
{ "Open Mason", ":Mason" },
{ "Plugins Status", ":lua require('lazy').home()" },
{ "Plugins Update", ":lua require('lazy').update()" },
{ "Plugins Sync", ":lua require('lazy').sync()" },
},
{ "Vim",
{ "commands", ":lua require('telescope.builtin').commands()" },
{ "command history", ":lua require('telescope.builtin').command_history()" },
{ "vim options", ":lua require('telescope.builtin').vim_options()" },
{ 'check health', ":checkhealth" },
{ "reload vimrc", ":source $MYVIMRC" },
{ "Change colorshceme", ":lua require('telescope.builtin').colorscheme({ enable_preview = true })" },
},
{ "AstroNvim",
{ "AstroNvim Version", ":AstroVersion" },
{ "AstroNvim Changelog", ":AstroChangelog" },
{ "AstroNvim Update", ":AstroUpdate" },
}
}