feat(neovim): use built-in package manager.
This commit is contained in:
parent
3b5eceb42f
commit
1f52e22b17
11 changed files with 50 additions and 101 deletions
|
|
@ -1,12 +1,2 @@
|
|||
return {
|
||||
{
|
||||
"ellisonleao/gruvbox.nvim",
|
||||
lazy = false,
|
||||
priority = 1000,
|
||||
config = function()
|
||||
-- load colorscheme here
|
||||
vim.o.background = "dark"
|
||||
vim.cmd([[colorscheme gruvbox]])
|
||||
end,
|
||||
},
|
||||
}
|
||||
vim.o.background = "dark"
|
||||
vim.cmd([[colorscheme gruvbox]])
|
||||
|
|
|
|||
1
lua/plugins/init.lua
Normal file
1
lua/plugins/init.lua
Normal file
|
|
@ -0,0 +1 @@
|
|||
require("plugins.colorscheme")
|
||||
|
|
@ -1,9 +1,3 @@
|
|||
return {
|
||||
{
|
||||
"neovim/nvim-lspconfig",
|
||||
config = function()
|
||||
|
||||
vim.lsp.enable("nixd")
|
||||
end,
|
||||
},
|
||||
}
|
||||
vim.lsp.enable(
|
||||
"nixd"
|
||||
)
|
||||
|
|
|
|||
|
|
@ -1,26 +1,19 @@
|
|||
return {
|
||||
{
|
||||
"nvim-treesitter/nvim-treesitter",
|
||||
config = function()
|
||||
require("nvim-treesitter.configs").setup({
|
||||
ensure_installed = { "c", "lua", "vim", "vimdoc", "query", "go", "nix" },
|
||||
require("nvim-treesitter.configs").setup({
|
||||
ensure_installed = { "c", "lua", "vim", "vimdoc", "query", "go", "nix" },
|
||||
|
||||
auto_install = true,
|
||||
auto_install = true,
|
||||
|
||||
highlight = {
|
||||
enable = true,
|
||||
},
|
||||
|
||||
incremental_selection = {
|
||||
enable = true,
|
||||
keymaps = {
|
||||
init_selection = "<Leader>ss",
|
||||
node_incremental = "<Leader>si",
|
||||
scope_incremental = "<Leader>sc",
|
||||
node_decremental = "<Leader>sd",
|
||||
},
|
||||
},
|
||||
})
|
||||
end,
|
||||
highlight = {
|
||||
enable = true,
|
||||
},
|
||||
}
|
||||
|
||||
incremental_selection = {
|
||||
enable = true,
|
||||
keymaps = {
|
||||
init_selection = "<Leader>ss",
|
||||
node_incremental = "<Leader>si",
|
||||
scope_incremental = "<Leader>sc",
|
||||
node_decremental = "<Leader>sd",
|
||||
},
|
||||
},
|
||||
})
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue