colorsheme
This commit is contained in:
parent
ceeb113721
commit
955b5545b6
4 changed files with 12 additions and 2 deletions
2
init.lua
2
init.lua
|
|
@ -7,6 +7,8 @@ require("config.diagnostics")
|
||||||
require("config.mappings")
|
require("config.mappings")
|
||||||
require("config.commands")
|
require("config.commands")
|
||||||
|
|
||||||
|
vim.cmd('colorscheme gruvbox')
|
||||||
|
|
||||||
vim.opt.number = true
|
vim.opt.number = true
|
||||||
vim.opt.relativenumber = true
|
vim.opt.relativenumber = true
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -21,5 +21,9 @@ for name, _ in vim.fs.dir(config_module_path) do
|
||||||
end
|
end
|
||||||
|
|
||||||
vim.api.nvim_create_user_command('UpdatePacks', function ()
|
vim.api.nvim_create_user_command('UpdatePacks', function ()
|
||||||
|
vim.iter(vim.pack.get())
|
||||||
|
:filter(function(x) return not x.active end)
|
||||||
|
:map(function(x) return x.spec.name end)
|
||||||
|
:totable()
|
||||||
vim.pack.update()
|
vim.pack.update()
|
||||||
end, {})
|
end, {})
|
||||||
|
|
|
||||||
|
|
@ -3,6 +3,7 @@ function gh(link)
|
||||||
end
|
end
|
||||||
|
|
||||||
return {
|
return {
|
||||||
|
gh('morhetz/gruvbox'),
|
||||||
gh('L3MON4D3/LuaSnip'),
|
gh('L3MON4D3/LuaSnip'),
|
||||||
gh('folke/which-key.nvim'),
|
gh('folke/which-key.nvim'),
|
||||||
gh('hrsh7th/cmp-buffer'),
|
gh('hrsh7th/cmp-buffer'),
|
||||||
|
|
@ -10,10 +11,9 @@ return {
|
||||||
gh('hrsh7th/cmp-nvim-lsp'),
|
gh('hrsh7th/cmp-nvim-lsp'),
|
||||||
gh('hrsh7th/cmp-path'),
|
gh('hrsh7th/cmp-path'),
|
||||||
gh('hrsh7th/nvim-cmp'),
|
gh('hrsh7th/nvim-cmp'),
|
||||||
gh('iamcco/markdown-preview.nvim'),
|
|
||||||
gh('midoBB/nvim-quicktype'),
|
gh('midoBB/nvim-quicktype'),
|
||||||
gh('nvim-lua/plenary.nvim'),
|
|
||||||
gh('neovim/nvim-lspconfig'),
|
gh('neovim/nvim-lspconfig'),
|
||||||
|
gh('nvim-lua/plenary.nvim'),
|
||||||
gh('nvim-telescope/telescope.nvim'),
|
gh('nvim-telescope/telescope.nvim'),
|
||||||
gh('preservim/nerdtree'),
|
gh('preservim/nerdtree'),
|
||||||
gh('saadparwaiz1/cmp_luasnip'),
|
gh('saadparwaiz1/cmp_luasnip'),
|
||||||
|
|
|
||||||
|
|
@ -24,6 +24,10 @@
|
||||||
"rev": "98d9cb5c2c38532bd9bdb481067b20fea8f32e90",
|
"rev": "98d9cb5c2c38532bd9bdb481067b20fea8f32e90",
|
||||||
"src": "https://github.com/saadparwaiz1/cmp_luasnip"
|
"src": "https://github.com/saadparwaiz1/cmp_luasnip"
|
||||||
},
|
},
|
||||||
|
"gruvbox": {
|
||||||
|
"rev": "ef8864bb42bf244f0295d1c5a403b27e3d139695",
|
||||||
|
"src": "https://github.com/morhetz/gruvbox"
|
||||||
|
},
|
||||||
"markdown-preview.nvim": {
|
"markdown-preview.nvim": {
|
||||||
"rev": "a923f5fc5ba36a3b17e289dc35dc17f66d0548ee",
|
"rev": "a923f5fc5ba36a3b17e289dc35dc17f66d0548ee",
|
||||||
"src": "https://github.com/iamcco/markdown-preview.nvim"
|
"src": "https://github.com/iamcco/markdown-preview.nvim"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue