summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHampusM <hampus@hampusmat.com>2024-05-30 23:00:30 +0200
committerHampusM <hampus@hampusmat.com>2024-05-30 23:00:30 +0200
commit47263aa9448e8802562ea079247db061be152989 (patch)
tree6860b8df064a57ef56c4c3ee5cb24f6dbd22b6c2
parent3340a5edaf1ac74ef9f7dc874a66976327388941 (diff)
use specific plugin versions
-rw-r--r--lua/plugins.lua79
1 files changed, 65 insertions, 14 deletions
diff --git a/lua/plugins.lua b/lua/plugins.lua
index 0a16863..31727f4 100644
--- a/lua/plugins.lua
+++ b/lua/plugins.lua
@@ -1,12 +1,27 @@
return require("packer").startup(function(use)
- use "wbthomason/packer.nvim"
+ use {
+ "wbthomason/packer.nvim",
+ commit = "ea0cc3c59f67c440c5ff0bbe4fb9420f4350b9a3"
+ }
- use "tpope/vim-fugitive"
+ use {
+ "tpope/vim-fugitive",
+ commit = "4f59455d2388e113bd510e85b310d15b9228ca0d"
+ }
-- NERDtree
- use "preservim/nerdtree"
- use "ryanoasis/vim-devicons"
- use "tiagofumo/vim-nerdtree-syntax-highlight"
+ use { "preservim/nerdtree", tag = "7.1.2" }
+
+ use {
+ "ryanoasis/vim-devicons",
+ commit = "71f239af28b7214eebb60d4ea5bd040291fb7e33"
+ }
+
+ use {
+ "tiagofumo/vim-nerdtree-syntax-highlight",
+ commit = "35e70334a2ff6e89b82a145d1ac889e82d1ddb4e"
+ }
+ --- NERDtree end
-- Style
use {
@@ -14,7 +29,11 @@ return require("packer").startup(function(use)
commit = "256ec8f56ca0beb7c2d3b727f6c7f4806ab30c15"
}
- use "vim-airline/vim-airline"
+ use {
+ "vim-airline/vim-airline",
+ commit = "16c1638f93f93fad41da8cb6eef2bcd8eed0a57a"
+ }
+
use {
"lukas-reineke/indent-blankline.nvim",
tag = "v3.5.3",
@@ -24,6 +43,7 @@ return require("packer").startup(function(use)
}
end
}
+ -- Style end
-- Coc
use {
@@ -32,20 +52,51 @@ return require("packer").startup(function(use)
commit = "3dc6153a85ed0f185abec1deb972a66af3fbbfb4",
run = "npm install"
}
+ -- Coc end
-- Syntax & formatting
- use "tikhomirov/vim-glsl"
- use "rhysd/vim-clang-format"
- use "rust-lang/rust.vim"
+ use {
+ "tikhomirov/vim-glsl",
+ commit = "bfd330a271933c3372fcfa8ce052970746c8e9dd"
+ }
+
+ use {
+ "rhysd/vim-clang-format",
+ commit = "6b791825ff478061ad1c57b21bb1ed5a5fd0eb29"
+ }
+
+ use {
+ "rust-lang/rust.vim",
+ commit = "889b9a7515db477f4cb6808bef1769e53493c578"
+ }
+ -- Syntax & formatting end
-- Navigation
- use "christoomey/vim-tmux-navigator"
+ use {
+ "christoomey/vim-tmux-navigator",
+ commit = "5b3c701686fb4e6629c100ed32e827edf8dad01e"
+ }
+ -- Navigation end
-- Fzf
- use "junegunn/fzf"
- use "junegunn/fzf.vim"
+ use { "junegunn/fzf", tag = "0.52.1" }
+
+ use {
+ "junegunn/fzf.vim",
+ commit = "0a80e43f9027ec64213d602dbb0b22d65a072ca8"
+ }
+ -- Fzf end
-- Markdown
- use "preservim/vim-markdown"
- use {"iamcco/markdown-preview.nvim", run = "cd app && yarn install"}
+ use {
+ "preservim/vim-markdown",
+ commit = "a657e697376909c41475a686eeef7fc7a4972d94"
+ }
+
+ use {
+ "iamcco/markdown-preview.nvim",
+ commit = "a923f5fc5ba36a3b17e289dc35dc17f66d0548ee",
+ run = "cd app && yarn install"
+ }
+ -- Markdown end
end)