summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--nvim/lazy-lock.json9
-rw-r--r--nvim/lua/config/lazy.lua61
2 files changed, 8 insertions, 62 deletions
diff --git a/nvim/lazy-lock.json b/nvim/lazy-lock.json
index 1d419ed..e648e61 100644
--- a/nvim/lazy-lock.json
+++ b/nvim/lazy-lock.json
@@ -1,15 +1,12 @@
{
"Comment.nvim": { "branch": "master", "commit": "e30b7f2008e52442154b66f7c519bfd2f1e32acb" },
- "blink.cmp": { "branch": "main", "commit": "327fff91fe6af358e990be7be1ec8b78037d2138" },
"diffview.nvim": { "branch": "main", "commit": "4516612fe98ff56ae0415a259ff6361a89419b0a" },
- "friendly-snippets": { "branch": "main", "commit": "572f5660cf05f8cd8834e096d7b4c921ba18e175" },
"fzf-lua": { "branch": "main", "commit": "c102a4eeb10a04ed7e69ce80918923c4175c19d8" },
"gitsigns.nvim": { "branch": "main", "commit": "20ad4419564d6e22b189f6738116b38871082332" },
"gruvbox.nvim": { "branch": "main", "commit": "5e0a460d8e0f7f669c158dedd5f9ae2bcac31437" },
"lazy.nvim": { "branch": "main", "commit": "1ea3c4085785f460fb0e46d2fe1ee895f5f9e7c1" },
- "mason-lspconfig.nvim": { "branch": "main", "commit": "2304ff65ecc8cb2afc2484de3e2ed9a407edf0b9" },
- "mason.nvim": { "branch": "main", "commit": "ad7146aa61dcaeb54fa900144d768f040090bff0" },
- "nvim-lspconfig": { "branch": "master", "commit": "ac98db2f9f06a56498ec890a96928774eae412c3" },
"nvim-surround": { "branch": "main", "commit": "a868c256c861044beb9794b4dd126480dcdfbdad" },
- "nvim-web-devicons": { "branch": "master", "commit": "b8221e42cf7287c4dcde81f232f58d7b947c210d" }
+ "nvim-treesitter": { "branch": "master", "commit": "42fc28ba918343ebfd5565147a42a26580579482" },
+ "nvim-web-devicons": { "branch": "master", "commit": "b8221e42cf7287c4dcde81f232f58d7b947c210d" },
+ "vim-fugitive": { "branch": "master", "commit": "61b51c09b7c9ce04e821f6cf76ea4f6f903e3cf4" }
}
diff --git a/nvim/lua/config/lazy.lua b/nvim/lua/config/lazy.lua
index ca9651b..948777c 100644
--- a/nvim/lua/config/lazy.lua
+++ b/nvim/lua/config/lazy.lua
@@ -27,28 +27,15 @@ require("lazy").setup({
spec = {
-- Color scheme
{ "ellisonleao/gruvbox.nvim", priority = 1000, config = true },
-
- -- Manages LSP stuff
- { "mason-org/mason.nvim", opts = {} },
- {
- "mason-org/mason-lspconfig.nvim",
- opts = {},
- dependencies = {
- { "mason-org/mason.nvim", opts = {} },
- "neovim/nvim-lspconfig",
- },
- },
-
+ -- Git integration
+ { "tpope/vim-fugitive" },
-- Allows seeing git diff
{ "sindrets/diffview.nvim" },
-- Shows git diff info in the gutter
{ "lewis6991/gitsigns.nvim" },
-
- -- Enables motion to comment stuff out
- -- Line comment: gc{motion} or gcc
- -- Block comment: gb{motion} or gbc
+ { "nvim-treesitter/nvim-treesitter", branch = 'master', lazy = false, build = ":TSUpdate" },
+ -- comment gestures
{ "numToStr/Comment.nvim" },
-
-- Fuzzy finder
{
"ibhagwan/fzf-lua",
@@ -58,53 +45,15 @@ require("lazy").setup({
dependencies = { "nvim-tree/nvim-web-devicons" },
opts = {},
},
-
+ -- Wrap text into quotes/parens
{
"kylechui/nvim-surround",
- -- Old text Command New text
- ------------------------------------------------------------------------------
- -- surr*ound_words ysiw) (surround_words)
- -- surr*ound_words ysiw( ( surround_words )
- -- *make strings ys$" "make strings"
- -- [delete ar*ound me!] ds] delete around me!
- -- remove <b>HTML t*ags</b> dst remove HTML tags
- -- 'change quot*es' cs'" "change quotes"
- -- <b>or tag* types</b> csth1<CR> <h1>or tag types</h1>
- -- delete(functi*on calls) dsf function calls
version = "^3.0.0", -- Use for stability; omit to use `main` branch for the latest features
event = "VeryLazy",
config = function()
require("nvim-surround").setup({})
end
},
- -- Autocomplete
- {
- "saghen/blink.cmp",
- enabled = true,
- -- disabled by default, used only in TypeScript
- dependencies = { "rafamadriz/friendly-snippets" },
-
- -- use a release tag to download pre-built binaries
- version = "1.*",
- opts = {
- keymap = { preset = "default" },
-
- appearance = {
- nerd_font_variant = "mono",
- },
-
- completion = {
- documentation = { auto_show = false },
- },
-
- sources = {
- default = { "lsp", "path", "snippets", "buffer" },
- },
-
- fuzzy = { implementation = "prefer_rust_with_warning" },
- },
- opts_extend = { "sources.default" },
- },
},
install = { colorscheme = { "gruvbox" } },
checker = { enabled = true },