mirror of
https://github.com/davegallant/nix-config
synced 2025-08-07 09:12:28 +00:00
Add gitlinker-nvim
This commit is contained in:
16
flake.lock
generated
16
flake.lock
generated
@@ -58,11 +58,11 @@
|
|||||||
]
|
]
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1627422633,
|
"lastModified": 1627567481,
|
||||||
"narHash": "sha256-9UvA3wn0xap6WLjhE7+90JwCD+PNj630qt721XRC3TQ=",
|
"narHash": "sha256-TEb7VEDruimeDe0h8PKpTGbXrFhgvPx3gqu3yjNJHyQ=",
|
||||||
"owner": "nix-community",
|
"owner": "nix-community",
|
||||||
"repo": "home-manager",
|
"repo": "home-manager",
|
||||||
"rev": "ae8cb242f2e450c525274732af58b3050399f5bd",
|
"rev": "5f6364fc28065d6b26423512e14207ce0bffb27a",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
@@ -80,11 +80,11 @@
|
|||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"dir": "contrib",
|
"dir": "contrib",
|
||||||
"lastModified": 1627459845,
|
"lastModified": 1627486167,
|
||||||
"narHash": "sha256-hG4lvrQHOZQeD/M9IChfAWx3R0gEE22H6jSD7ajrtkA=",
|
"narHash": "sha256-hG4lvrQHOZQeD/M9IChfAWx3R0gEE22H6jSD7ajrtkA=",
|
||||||
"owner": "neovim",
|
"owner": "neovim",
|
||||||
"repo": "neovim",
|
"repo": "neovim",
|
||||||
"rev": "701c21480e5b7ed15bff0e0571787fe220f7de6f",
|
"rev": "ac5139eae412c5b80ffe5fb5f3d1c9461bf91940",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
@@ -101,11 +101,11 @@
|
|||||||
"nixpkgs": "nixpkgs"
|
"nixpkgs": "nixpkgs"
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1627459903,
|
"lastModified": 1627546611,
|
||||||
"narHash": "sha256-sIGHpshll67YyYHKHY8vrPaPVNKQqkA+LMYqop/gaKk=",
|
"narHash": "sha256-LmVX8ivhHphkVMw8NTKzvA9DCEwmbf41SWNoe8Y606k=",
|
||||||
"owner": "nix-community",
|
"owner": "nix-community",
|
||||||
"repo": "neovim-nightly-overlay",
|
"repo": "neovim-nightly-overlay",
|
||||||
"rev": "8eae52431f645b04a9326fe7019c4faf145027db",
|
"rev": "a324fe38852490fa2e0242a5dcc888f4bfa1a377",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
@@ -3,6 +3,7 @@
|
|||||||
let
|
let
|
||||||
vim-prettier = pkgs.vimUtils.buildVimPlugin {
|
vim-prettier = pkgs.vimUtils.buildVimPlugin {
|
||||||
name = "vim-prettier";
|
name = "vim-prettier";
|
||||||
|
nativeBuildInputs = with pkgs; [ lua53Packages.luacheck ];
|
||||||
src = pkgs.fetchFromGitHub {
|
src = pkgs.fetchFromGitHub {
|
||||||
owner = "prettier";
|
owner = "prettier";
|
||||||
repo = "vim-prettier";
|
repo = "vim-prettier";
|
||||||
@@ -10,6 +11,16 @@ let
|
|||||||
sha256 = "sha256-FDeyGH5OPAYV7zePCfDujsj+nGd5AFnqySPStJYEY2E=";
|
sha256 = "sha256-FDeyGH5OPAYV7zePCfDujsj+nGd5AFnqySPStJYEY2E=";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
gitlinker-nvim = pkgs.vimUtils.buildVimPlugin {
|
||||||
|
name = "gitlinker-nvim";
|
||||||
|
nativeBuildInputs = with pkgs; [ lua53Packages.luacheck stylua ];
|
||||||
|
src = pkgs.fetchFromGitHub {
|
||||||
|
owner = "ruifm";
|
||||||
|
repo = "gitlinker.nvim";
|
||||||
|
rev = "master";
|
||||||
|
sha256 = "sha256-MpWK5f69rTMsb9b2YHzL5+N9FFWfwZ6GsVONsk72if0=";
|
||||||
|
};
|
||||||
|
};
|
||||||
inherit (pkgs) stdenv;
|
inherit (pkgs) stdenv;
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
@@ -299,6 +310,7 @@ in
|
|||||||
plugins = with pkgs.vimPlugins; [
|
plugins = with pkgs.vimPlugins; [
|
||||||
completion-nvim
|
completion-nvim
|
||||||
git-blame-nvim
|
git-blame-nvim
|
||||||
|
gitlinker-nvim
|
||||||
glow-nvim
|
glow-nvim
|
||||||
lualine-nvim
|
lualine-nvim
|
||||||
nvim-lspconfig
|
nvim-lspconfig
|
||||||
@@ -306,6 +318,7 @@ in
|
|||||||
nvim-treesitter
|
nvim-treesitter
|
||||||
nvim-ts-rainbow
|
nvim-ts-rainbow
|
||||||
nvim-web-devicons
|
nvim-web-devicons
|
||||||
|
plenary-nvim
|
||||||
rust-vim
|
rust-vim
|
||||||
supertab
|
supertab
|
||||||
syntastic
|
syntastic
|
||||||
|
@@ -107,10 +107,12 @@ require'lspconfig'.terraformls.setup{}
|
|||||||
require'lspconfig'.tflint.setup{}
|
require'lspconfig'.tflint.setup{}
|
||||||
require'lspconfig'.yamlls.setup{}
|
require'lspconfig'.yamlls.setup{}
|
||||||
|
|
||||||
|
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
-- Plugins {{{1 ---------------------------------------------------------------
|
-- Plugins {{{1 ---------------------------------------------------------------
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
|
-- gitlinker
|
||||||
|
require"gitlinker".setup()
|
||||||
|
|
||||||
-- status line
|
-- status line
|
||||||
require('lualine').setup {
|
require('lualine').setup {
|
||||||
options = {
|
options = {
|
||||||
|
Reference in New Issue
Block a user