feat: plugin cleaup
This commit is contained in:
@@ -12,14 +12,6 @@ return {
|
||||
require("nvim-treesitter.configs").setup(opts)
|
||||
end,
|
||||
},
|
||||
-- To test if TreeSitter is working
|
||||
-- "nvim-treesitter/playground",
|
||||
-- {
|
||||
-- "nvim-treesitter/nvim-treesitter-context",
|
||||
-- opts = function()
|
||||
-- return require("plugins.opts.treesitterContext")
|
||||
-- end,
|
||||
-- },
|
||||
|
||||
-- │ Completion │
|
||||
{
|
||||
@@ -66,20 +58,4 @@ return {
|
||||
"folke/trouble.nvim",
|
||||
opts = { use_diagnostic_signs = true },
|
||||
},
|
||||
|
||||
-- │ Easy comments │
|
||||
-- {
|
||||
-- "numToStr/Comment.nvim",
|
||||
-- keys = {
|
||||
-- { "gcc", mode = "n", desc = "Comment toggle current line" },
|
||||
-- { "gc", mode = { "n", "o" }, desc = "Comment toggle linewise" },
|
||||
-- { "gc", mode = "x", desc = "Comment toggle linewise (visual)" },
|
||||
-- { "gbc", mode = "n", desc = "Comment toggle current block" },
|
||||
-- { "gb", mode = { "n", "o" }, desc = "Comment toggle blockwise" },
|
||||
-- { "gb", mode = "x", desc = "Comment toggle blockwise (visual)" },
|
||||
-- },
|
||||
-- config = function(_, opts)
|
||||
-- require("Comment").setup(opts)
|
||||
-- end,
|
||||
-- },
|
||||
}
|
||||
|
||||
@@ -11,9 +11,6 @@ return {
|
||||
end,
|
||||
},
|
||||
|
||||
-- Separate buffers in tabs
|
||||
{ "tiagovla/scope.nvim", config = true },
|
||||
|
||||
{
|
||||
"nvim-lualine/lualine.nvim",
|
||||
event = "VeryLazy",
|
||||
|
||||
@@ -1,28 +1,2 @@
|
||||
return {
|
||||
-- ╭────────────╮
|
||||
-- │ Navigation │
|
||||
-- ╰────────────╯
|
||||
-- {
|
||||
-- "folke/flash.nvim",
|
||||
-- event = "VeryLazy",
|
||||
-- opts = {},
|
||||
-- keys = {
|
||||
-- {
|
||||
-- "s",
|
||||
-- mode = { "n", "x", "o" },
|
||||
-- function()
|
||||
-- require("flash").jump()
|
||||
-- end,
|
||||
-- desc = "Flash",
|
||||
-- },
|
||||
-- {
|
||||
-- "S",
|
||||
-- mode = { "n", "x", "o" },
|
||||
-- function()
|
||||
-- require("flash").treesitter()
|
||||
-- end,
|
||||
-- desc = "Flash Treesitter",
|
||||
-- },
|
||||
-- },
|
||||
-- },
|
||||
}
|
||||
|
||||
@@ -4,7 +4,7 @@ local config = {
|
||||
enable_git_status = true,
|
||||
enable_diagnostics = true,
|
||||
open_files_do_not_replace_types = { "terminal", "trouble", "qf" }, -- when opening files, do not use windows containing these filetypes or buftypes
|
||||
sort_case_insensitive = false, -- used when sorting files and directories in the tree
|
||||
sort_case_insensitive = false, -- used when sorting files and directories in the tree
|
||||
sort_function = nil,
|
||||
follow_current_file = { enabled = true },
|
||||
source_selector = {
|
||||
@@ -88,7 +88,7 @@ local config = {
|
||||
-- see `:h neo-tree-custom-commands-global`
|
||||
commands = {},
|
||||
window = {
|
||||
position = "left",
|
||||
position = "float",
|
||||
width = 40,
|
||||
mapping_options = {
|
||||
noremap = true,
|
||||
@@ -176,7 +176,7 @@ local config = {
|
||||
--".null-ls_*",
|
||||
},
|
||||
},
|
||||
group_empty_dirs = false, -- when true, empty folders will be grouped together
|
||||
group_empty_dirs = false, -- when true, empty folders will be grouped together
|
||||
hijack_netrw_behavior = "open_default", -- netrw disabled, opening a directory opens neo-tree
|
||||
-- in whatever position is specified in window.position
|
||||
-- "open_current", -- netrw disabled, opening a directory opens within the
|
||||
@@ -221,11 +221,11 @@ local config = {
|
||||
},
|
||||
buffers = {
|
||||
follow_current_file = {
|
||||
enabled = true, -- This will find and focus the file in the active buffer every time
|
||||
enabled = true, -- This will find and focus the file in the active buffer every time
|
||||
-- -- the current file is changed while the tree is open.
|
||||
leave_dirs_open = false, -- `false` closes auto expanded dirs, such as with `:Neotree reveal`
|
||||
},
|
||||
group_empty_dirs = true, -- when true, empty folders will be grouped together
|
||||
group_empty_dirs = true, -- when true, empty folders will be grouped together
|
||||
show_unloaded = true,
|
||||
window = {
|
||||
mappings = {
|
||||
|
||||
@@ -12,44 +12,29 @@ return {
|
||||
},
|
||||
},
|
||||
{ "echasnovski/mini.icons" },
|
||||
{
|
||||
"folke/noice.nvim",
|
||||
event = "VeryLazy",
|
||||
dependencies = {
|
||||
"MunifTanjim/nui.nvim",
|
||||
-- OPTIONAL: (if not mini is the backup)
|
||||
-- "rcarriga/nvim-notify",
|
||||
},
|
||||
opts = function()
|
||||
return require("plugins.opts.noice")
|
||||
end,
|
||||
},
|
||||
|
||||
|
||||
{
|
||||
"norcalli/nvim-colorizer.lua",
|
||||
config = function()
|
||||
require("colorizer").setup({})
|
||||
end,
|
||||
"shortcuts/no-neck-pain.nvim",
|
||||
version = "*",
|
||||
},
|
||||
|
||||
{ "shortcuts/no-neck-pain.nvim", version = "*" },
|
||||
|
||||
{
|
||||
"sphamba/smear-cursor.nvim",
|
||||
opts = {
|
||||
smear_between_buffers = false,
|
||||
smear_between_neighbor_lines = true,
|
||||
scroll_buffer_space = true,
|
||||
-- Set to `true` if your font supports legacy computing symbols (block unicode symbols).
|
||||
legacy_computing_symbols_support = false,
|
||||
smear_insert_mode = true,
|
||||
|
||||
-- fast smear
|
||||
stiffness = 0.8, -- 0.6 [0, 1]
|
||||
trailing_stiffness = 0.5, -- 0.4 [0, 1]
|
||||
stiffness_insert_mode = 0.6, -- 0.4 [0, 1]
|
||||
trailing_stiffness_insert_mode = 0.6, -- 0.4 [0, 1]
|
||||
distance_stop_animating = 0.5, -- 0.1 > 0
|
||||
},
|
||||
},
|
||||
-- {
|
||||
-- "sphamba/smear-cursor.nvim",
|
||||
-- opts = {
|
||||
-- smear_between_buffers = false,
|
||||
-- smear_between_neighbor_lines = true,
|
||||
-- scroll_buffer_space = true,
|
||||
-- -- Set to `true` if your font supports legacy computing symbols (block unicode symbols).
|
||||
-- legacy_computing_symbols_support = false,
|
||||
-- smear_insert_mode = true,
|
||||
--
|
||||
-- -- fast smear
|
||||
-- stiffness = 0.8, -- 0.6 [0, 1]
|
||||
-- trailing_stiffness = 0.5, -- 0.4 [0, 1]
|
||||
-- stiffness_insert_mode = 0.6, -- 0.4 [0, 1]
|
||||
-- trailing_stiffness_insert_mode = 0.6, -- 0.4 [0, 1]
|
||||
-- distance_stop_animating = 0.5, -- 0.1 > 0
|
||||
-- },
|
||||
-- },
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user