nvim: use neovim-nightly
This commit is contained in:
parent
cdeb64a7e4
commit
f4aa6d3cda
5 changed files with 235 additions and 29 deletions
home/common/nvim
|
@ -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
|
||||
|
||||
{
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue