1
0
Fork 0

nvim: lightspeed -> leap

This commit is contained in:
Daniel Kempkens 2022-03-28 20:19:13 +02:00
parent 980f942154
commit 20992f04ee
6 changed files with 42 additions and 36 deletions

View file

@ -1 +0,0 @@
require('lightspeed').setup({})

View file

@ -1,3 +1,7 @@
-- Lua filetype detection
vim.g.did_load_filetypes = 1
vim.g.do_filetype_lua = 1
-- Disable some built-in plugins -- Disable some built-in plugins
vim.g.loaded_matchit = 1 vim.g.loaded_matchit = 1
vim.g.loaded_matchparen = 1 vim.g.loaded_matchparen = 1
@ -25,7 +29,7 @@ vim.g.loaded_perl_provider = 0
-- Keybindings -- Keybindings
require('nifoc.config.whichkey') require('nifoc.config.whichkey')
require('nifoc.config.yoink') require('nifoc.config.yoink')
require('nifoc.config.lightspeed') require('nifoc.config.leap')
-- Syntax -- Syntax
require('nifoc.config.treesitter') require('nifoc.config.treesitter')

View file

@ -53,6 +53,9 @@ vim.opt.spelllang = {'en', 'de'}
vim.opt.number = true vim.opt.number = true
vim.opt.relativenumber = true vim.opt.relativenumber = true
vim.opt.conceallevel = 2
vim.opt.concealcursor = 'nc'
-- See: https://github.com/antoinemadec/FixCursorHold.nvim -- See: https://github.com/antoinemadec/FixCursorHold.nvim
vim.opt.updatetime = 750 vim.opt.updatetime = 750
vim.g.cursorhold_updatetime = 100 vim.g.cursorhold_updatetime = 100

View file

@ -96,11 +96,11 @@
}, },
"locked": { "locked": {
"dir": "contrib", "dir": "contrib",
"lastModified": 1648348385, "lastModified": 1648420800,
"narHash": "sha256-vOcTFMT0Zd/ZddIIKkh3+Fs9a1JXx3xDRrA87+KRqsc=", "narHash": "sha256-v94uORfC8q9CGwCwM4UZCo5f8F0cvMyvhMvpPY8wH6U=",
"owner": "neovim", "owner": "neovim",
"repo": "neovim", "repo": "neovim",
"rev": "71b4c30ad6215742ffcb8dfb0fb4df899065cb7a", "rev": "79dcd045d3623ff71903e2806be489bd5fe3200d",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -119,11 +119,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1648368852, "lastModified": 1648455466,
"narHash": "sha256-Nuvnv1VWl/h62tg7sNrT1zndTsa2nuWe8kLb7eBcGUc=", "narHash": "sha256-05K7zu1MUMNkDOiserTayFjQqKoXyWKmZ0IZSmTkNDU=",
"owner": "nix-community", "owner": "nix-community",
"repo": "neovim-nightly-overlay", "repo": "neovim-nightly-overlay",
"rev": "efbb09d2f0c1285677db79c0d927599d69157917", "rev": "400d52d370fb9482f426f0c64f60b798cae9b8e0",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -186,11 +186,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1648341617, "lastModified": 1648427755,
"narHash": "sha256-j4HXFD1eKxCFfMbBYhNnLmXZ7q6cahVqH/Hlq43v8RM=", "narHash": "sha256-ASljJgGNt+c3u2uTXxSFA3BFojiWTi+JSBnqWoj2V4Y=",
"owner": "arqv", "owner": "arqv",
"repo": "zig-overlay", "repo": "zig-overlay",
"rev": "8d79efd701963ac3c9a55755de44e6fd4a6c8d76", "rev": "dbab10bbd1c0fd779ba09a4c540f9e922e3a186c",
"type": "github" "type": "github"
}, },
"original": { "original": {

View file

@ -135,12 +135,12 @@
}; };
nvim-treesitter = pkgs.vimUtils.buildVimPluginFrom2Nix { nvim-treesitter = pkgs.vimUtils.buildVimPluginFrom2Nix {
pname = "nvim-treesitter"; pname = "nvim-treesitter";
version = "1648399451"; version = "1648477158";
src = pkgs.fetchFromGitHub { src = pkgs.fetchFromGitHub {
owner = "nvim-treesitter"; owner = "nvim-treesitter";
repo = "nvim-treesitter"; repo = "nvim-treesitter";
rev = "97691940d1c9cdaef2ca73c4fae50987fdcadc6c"; rev = "76cb7cf7e54077d0464204da19198feb7a52cced";
sha256 = "L9nYuBr/I2skEuIvK4dP+kfvB3+B2DK4rC7wcyUsn40="; sha256 = "krpGFGnQA/wc8UQCXaZGy89GzqX7YtDTVXZGUEaYtiY=";
fetchSubmodules = true; fetchSubmodules = true;
}; };
meta.homepage = "https://github.com/nvim-treesitter/nvim-treesitter"; meta.homepage = "https://github.com/nvim-treesitter/nvim-treesitter";
@ -238,12 +238,12 @@
}; };
nvim-lspconfig = pkgs.vimUtils.buildVimPluginFrom2Nix { nvim-lspconfig = pkgs.vimUtils.buildVimPluginFrom2Nix {
pname = "nvim-lspconfig"; pname = "nvim-lspconfig";
version = "1648071307"; version = "1648480371";
src = pkgs.fetchFromGitHub { src = pkgs.fetchFromGitHub {
owner = "neovim"; owner = "neovim";
repo = "nvim-lspconfig"; repo = "nvim-lspconfig";
rev = "7d5a6dc46dd2ebaeb74b573922f289ae33089fe7"; rev = "3d1baa811b351078e5711be1a1158e33b074be9e";
sha256 = "z42XGlibPqm6AB4ajSn6ptXixXUcIaCloAmvKKzB4rc="; sha256 = "If8vjLISzCC6qo7iorhgrX5fC6Q/p+a8qvUbrvaA4BA=";
fetchSubmodules = true; fetchSubmodules = true;
}; };
meta.homepage = "https://github.com/neovim/nvim-lspconfig"; meta.homepage = "https://github.com/neovim/nvim-lspconfig";
@ -322,12 +322,12 @@
}; };
nvim-cmp = pkgs.vimUtils.buildVimPluginFrom2Nix { nvim-cmp = pkgs.vimUtils.buildVimPluginFrom2Nix {
pname = "nvim-cmp"; pname = "nvim-cmp";
version = "1647918354"; version = "1648459365";
src = pkgs.fetchFromGitHub { src = pkgs.fetchFromGitHub {
owner = "hrsh7th"; owner = "hrsh7th";
repo = "nvim-cmp"; repo = "nvim-cmp";
rev = "272cbdca3e327bf43e8df85c6f4f00921656c4e4"; rev = "dd6e4d96f9e376c87302fa5414556aa6269bf997";
sha256 = "DXlHyNDYJo+Wx+AYu1EtKli8MZhWLmOaoboMRWfWdvw="; sha256 = "7fkjBDs9F7dgPbqGIIr8ZuKIdDCV45pSTGLNu637HCU=";
fetchSubmodules = true; fetchSubmodules = true;
}; };
meta.homepage = "https://github.com/hrsh7th/nvim-cmp"; meta.homepage = "https://github.com/hrsh7th/nvim-cmp";
@ -346,24 +346,24 @@
}; };
cmp-nvim-lsp-signature-help = pkgs.vimUtils.buildVimPluginFrom2Nix { cmp-nvim-lsp-signature-help = pkgs.vimUtils.buildVimPluginFrom2Nix {
pname = "cmp-nvim-lsp-signature-help"; pname = "cmp-nvim-lsp-signature-help";
version = "1647917959"; version = "1648441148";
src = pkgs.fetchFromGitHub { src = pkgs.fetchFromGitHub {
owner = "hrsh7th"; owner = "hrsh7th";
repo = "cmp-nvim-lsp-signature-help"; repo = "cmp-nvim-lsp-signature-help";
rev = "3048f4829bd38d53995cd56f81b4322c7e03344f"; rev = "9c0a36e30f29aefc7eba15c62ef2da94b59be981";
sha256 = "xl+Yp+KWbAwSACFv8XeLFPVdJHDby4rS1nYJLD47wpU="; sha256 = "WjpZvKfGbXNDJZz0Wyh8da7cRQVTcmPoeWlpnU/W2Ag=";
fetchSubmodules = true; fetchSubmodules = true;
}; };
meta.homepage = "https://github.com/hrsh7th/cmp-nvim-lsp-signature-help"; meta.homepage = "https://github.com/hrsh7th/cmp-nvim-lsp-signature-help";
}; };
LuaSnip = pkgs.vimUtils.buildVimPluginFrom2Nix { LuaSnip = pkgs.vimUtils.buildVimPluginFrom2Nix {
pname = "LuaSnip"; pname = "LuaSnip";
version = "1648370643"; version = "1648481086";
src = pkgs.fetchFromGitHub { src = pkgs.fetchFromGitHub {
owner = "L3MON4D3"; owner = "L3MON4D3";
repo = "LuaSnip"; repo = "LuaSnip";
rev = "d03f0c32b2aa763915401421f6b084315936590f"; rev = "065d52d45fbb30c117d260813ee2f72094cd1568";
sha256 = "+qKiTMEq7K5LnPc+RBBgVD8PigNMDstroBycDYj0OWM="; sha256 = "PLEBqDxZEQb8hyITOmFUkPURUAubvIQZd6Ch/BU2zbk=";
fetchSubmodules = true; fetchSubmodules = true;
}; };
meta.homepage = "https://github.com/L3MON4D3/LuaSnip"; meta.homepage = "https://github.com/L3MON4D3/LuaSnip";
@ -562,24 +562,24 @@
}; };
nvim-tree-lua = pkgs.vimUtils.buildVimPluginFrom2Nix { nvim-tree-lua = pkgs.vimUtils.buildVimPluginFrom2Nix {
pname = "nvim-tree.lua"; pname = "nvim-tree.lua";
version = "1648376004"; version = "1648453054";
src = pkgs.fetchFromGitHub { src = pkgs.fetchFromGitHub {
owner = "kyazdani42"; owner = "kyazdani42";
repo = "nvim-tree.lua"; repo = "nvim-tree.lua";
rev = "524758a207f9c5bf3888b446d9f93192a837b8a7"; rev = "5eef6185b130fcc7b76c4420824c596e4e1fbdef";
sha256 = "/oQ26oUBbGgSHv9jcEF1u8ZLarNWae8rnfOdmiPE508="; sha256 = "2sDH+BZjemlAyvfN7ouEZZ28wFxarnSR+KF7FXKYmpw=";
fetchSubmodules = true; fetchSubmodules = true;
}; };
meta.homepage = "https://github.com/kyazdani42/nvim-tree.lua"; meta.homepage = "https://github.com/kyazdani42/nvim-tree.lua";
}; };
indent-blankline-nvim = pkgs.vimUtils.buildVimPluginFrom2Nix { indent-blankline-nvim = pkgs.vimUtils.buildVimPluginFrom2Nix {
pname = "indent-blankline.nvim"; pname = "indent-blankline.nvim";
version = "1648214580"; version = "1648432344";
src = pkgs.fetchFromGitHub { src = pkgs.fetchFromGitHub {
owner = "lukas-reineke"; owner = "lukas-reineke";
repo = "indent-blankline.nvim"; repo = "indent-blankline.nvim";
rev = "ebedbed53690a53cd15b53c124eb29f9faffc1d2"; rev = "9920ceb79bffd0e6b7064be63439e38da0741d03";
sha256 = "k350v0ilWCFvw2nikJ1eIKzg2wFRgmf+236jgy/dXfM="; sha256 = "HZVbLOZ/eKt2bp0QtNg25szuV2/yw3ZiCRwlKU6zmJc=";
fetchSubmodules = true; fetchSubmodules = true;
}; };
meta.homepage = "https://github.com/lukas-reineke/indent-blankline.nvim"; meta.homepage = "https://github.com/lukas-reineke/indent-blankline.nvim";
@ -610,12 +610,12 @@
}; };
gitsigns-nvim = pkgs.vimUtils.buildVimPluginFrom2Nix { gitsigns-nvim = pkgs.vimUtils.buildVimPluginFrom2Nix {
pname = "gitsigns.nvim"; pname = "gitsigns.nvim";
version = "1648229045"; version = "1648475912";
src = pkgs.fetchFromGitHub { src = pkgs.fetchFromGitHub {
owner = "lewis6991"; owner = "lewis6991";
repo = "gitsigns.nvim"; repo = "gitsigns.nvim";
rev = "2a107231d92fa37224efdbc475abfba71f94b5ee"; rev = "8fce869b67dd7e3b0284df71f70e2f8072e925a2";
sha256 = "z0EjJ+BnpK9yOdvgTjYesAcjC9s7TEDvcU4zRJjIJ0Q="; sha256 = "HExYanyStmIgQymHY4IL35magRsp4FdWLkcdlOXb9m8=";
fetchSubmodules = true; fetchSubmodules = true;
}; };
meta.homepage = "https://github.com/lewis6991/gitsigns.nvim"; meta.homepage = "https://github.com/lewis6991/gitsigns.nvim";

View file

@ -12,7 +12,7 @@
- src: svermeulen/vim-yoink - src: svermeulen/vim-yoink
- src: svermeulen/vim-cutlass - src: svermeulen/vim-cutlass
- src: svermeulen/vim-subversive - src: svermeulen/vim-subversive
- src: ggandor/lightspeed.nvim - src: ggandor/leap.nvim
# Themes # Themes
- src: Mofiqul/dracula.nvim - src: Mofiqul/dracula.nvim