nvim: use neovim-nightly

This commit is contained in:
Daniel Lundin 2024-11-07 01:11:48 +01:00
parent cdeb64a7e4
commit f4aa6d3cda
Signed by: dln
SSH key fingerprint: SHA256:dQy1Xj3UiqJYpKR5ggQ2bxgz4jCH8IF+k3AB8o0kmdI
5 changed files with 235 additions and 29 deletions
home/common/nvim

View file

@ -1,13 +1,19 @@
{ lib, pkgs, ... }:
{
inputs,
lib,
pkgs,
...
}:
{
programs.neovim = {
enable = true;
enable = true;
package = inputs.neovim-nightly-overlay.packages.${pkgs.system}.default;
defaultEditor = true;
viAlias = true;
vimAlias = true;
withNodeJs = false;
withPython3 = false;
withRuby = false;
viAlias = true;
vimAlias = true;
withNodeJs = false;
withPython3 = false;
withRuby = false;
extraLuaConfig = lib.fileContents ./init.lua;
@ -21,9 +27,9 @@
nil
nixd
nodePackages.prettier
nodePackages.typescript
nodePackages.typescript
nodePackages.typescript-language-server
nodePackages.bash-language-server
nodePackages.bash-language-server
rust-analyzer
rustfmt
shellcheck
@ -61,11 +67,10 @@
vscode-langservers-extracted
];
plugins = with pkgs.vimPlugins; [
go-nvim
rustaceanvim
targets-vim
targets-vim
ts-comments-nvim
{

View file

@ -60,7 +60,7 @@ vim.o.updatetime = 50
vim.o.timeout = true
vim.o.timeoutlen = 10
vim.o.icm = "split"
-- vim.o.cia = 'kind,abbr,menu' wait for nightly to drop
vim.o.cia = 'kind,abbr,menu'
vim.o.showmode = false