chore: cleanup neovim
parent
bcd97bd976
commit
e56382a546
|
@ -141,7 +141,7 @@ require("lazy").setup({
|
||||||
|
|
||||||
vim.cmd("colorscheme caret")
|
vim.cmd("colorscheme caret")
|
||||||
end,
|
end,
|
||||||
enabled = false,
|
enabled = true,
|
||||||
},
|
},
|
||||||
|
|
||||||
-- https://github.com/folke/tokyonight.nvim
|
-- https://github.com/folke/tokyonight.nvim
|
||||||
|
@ -195,7 +195,7 @@ require("lazy").setup({
|
||||||
|
|
||||||
vim.cmd("colorscheme mellifluous")
|
vim.cmd("colorscheme mellifluous")
|
||||||
end,
|
end,
|
||||||
enabled = true,
|
enabled = false,
|
||||||
},
|
},
|
||||||
|
|
||||||
-- https://github.com/ibhagwan/fzf-lua
|
-- https://github.com/ibhagwan/fzf-lua
|
||||||
|
@ -213,25 +213,6 @@ require("lazy").setup({
|
||||||
end,
|
end,
|
||||||
},
|
},
|
||||||
|
|
||||||
-- https://github.com/nvim-lualine/lualine.nvim
|
|
||||||
{
|
|
||||||
"nvim-lualine/lualine.nvim",
|
|
||||||
config = function()
|
|
||||||
require("lualine").setup({
|
|
||||||
options = {
|
|
||||||
icons_enabled = false,
|
|
||||||
theme = "auto",
|
|
||||||
component_separators = { left = "", right = "" },
|
|
||||||
section_separators = { left = "", right = "" },
|
|
||||||
},
|
|
||||||
extensions = { "fzf", "nvim-tree" },
|
|
||||||
})
|
|
||||||
|
|
||||||
-- Disable showmode when use lualine
|
|
||||||
vim.opt.showmode = false
|
|
||||||
end,
|
|
||||||
},
|
|
||||||
|
|
||||||
-- https://github.com/nvim-tree/nvim-tree.lua
|
-- https://github.com/nvim-tree/nvim-tree.lua
|
||||||
{
|
{
|
||||||
"nvim-tree/nvim-tree.lua",
|
"nvim-tree/nvim-tree.lua",
|
||||||
|
@ -373,14 +354,6 @@ require("lazy").setup({
|
||||||
end,
|
end,
|
||||||
},
|
},
|
||||||
|
|
||||||
-- https://github.com/lukas-reineke/indent-blankline.nvim
|
|
||||||
{
|
|
||||||
"lukas-reineke/indent-blankline.nvim",
|
|
||||||
config = function()
|
|
||||||
require("indent_blankline").setup()
|
|
||||||
end,
|
|
||||||
},
|
|
||||||
|
|
||||||
-- https://github.com/lewis6991/gitsigns.nvim
|
-- https://github.com/lewis6991/gitsigns.nvim
|
||||||
{
|
{
|
||||||
"lewis6991/gitsigns.nvim",
|
"lewis6991/gitsigns.nvim",
|
||||||
|
@ -480,6 +453,11 @@ require("lazy").setup({
|
||||||
-- https://github.com/echasnovski/mini.nvim/blob/main/readmes/mini-cursorword.md
|
-- https://github.com/echasnovski/mini.nvim/blob/main/readmes/mini-cursorword.md
|
||||||
require("mini.cursorword").setup()
|
require("mini.cursorword").setup()
|
||||||
|
|
||||||
|
-- https://github.com/echasnovski/mini.nvim/blob/main/readmes/mini-statusline.md
|
||||||
|
require("mini.statusline").setup({
|
||||||
|
use_icons = false,
|
||||||
|
})
|
||||||
|
|
||||||
-- https://github.com/echasnovski/mini.nvim/blob/main/readmes/mini-surround.md
|
-- https://github.com/echasnovski/mini.nvim/blob/main/readmes/mini-surround.md
|
||||||
require("mini.surround").setup()
|
require("mini.surround").setup()
|
||||||
|
|
||||||
|
@ -560,32 +538,6 @@ require("lazy").setup({
|
||||||
end,
|
end,
|
||||||
},
|
},
|
||||||
|
|
||||||
-- https://github.com/nvim-treesitter/nvim-treesitter-textobjects
|
|
||||||
{
|
|
||||||
"nvim-treesitter/nvim-treesitter-textobjects",
|
|
||||||
dependencies = {
|
|
||||||
"nvim-treesitter/nvim-treesitter-context",
|
|
||||||
},
|
|
||||||
config = function()
|
|
||||||
require("nvim-treesitter.configs").setup({
|
|
||||||
textobjects = {
|
|
||||||
select = {
|
|
||||||
enable = true,
|
|
||||||
lookahead = true,
|
|
||||||
keymaps = {
|
|
||||||
["af"] = "@function.outer",
|
|
||||||
["if"] = "@function.inner",
|
|
||||||
["ac"] = "@class.outer",
|
|
||||||
["ic"] = "@class.inner",
|
|
||||||
["ab"] = "@block.outer",
|
|
||||||
["ib"] = "@block.inner",
|
|
||||||
},
|
|
||||||
},
|
|
||||||
},
|
|
||||||
})
|
|
||||||
end,
|
|
||||||
},
|
|
||||||
|
|
||||||
-- https://github.com/neovim/nvim-lspconfig
|
-- https://github.com/neovim/nvim-lspconfig
|
||||||
{
|
{
|
||||||
"neovim/nvim-lspconfig",
|
"neovim/nvim-lspconfig",
|
||||||
|
|
Loading…
Reference in New Issue