mirror of
https://github.com/akr2002/nv.git
synced 2025-03-12 09:56:14 +00:00
add vim.loader
This commit is contained in:
parent
08f2906f82
commit
67766cd5f4
1 changed files with 10 additions and 5 deletions
|
@ -1,5 +1,9 @@
|
|||
{ pkgs, lib, config, ... }:
|
||||
{
|
||||
pkgs,
|
||||
lib,
|
||||
config,
|
||||
...
|
||||
}: {
|
||||
config = {
|
||||
options = {
|
||||
# Relative line numbers
|
||||
|
@ -42,9 +46,8 @@
|
|||
# Decrease update time
|
||||
updatetime = 50;
|
||||
|
||||
|
||||
# Set completeopt
|
||||
completeopt = [ "menuone" "noselect" "noinsert" ];
|
||||
completeopt = ["menuone" "noselect" "noinsert"];
|
||||
|
||||
# Persistent undo history
|
||||
swapfile = false;
|
||||
|
@ -77,7 +80,7 @@
|
|||
|
||||
# Encoding
|
||||
encoding = "utf-8";
|
||||
fileencoding = "utf-8";
|
||||
fileencoding = "utf-8";
|
||||
|
||||
# Cursor options
|
||||
guicursor = [
|
||||
|
@ -92,7 +95,7 @@
|
|||
# Chars list
|
||||
list = true; # Show invisible characters
|
||||
listchars = "eol:↲,tab:|->,lead:·,space: ,trail:•,extends:→,precedes:←,nbsp:␣";
|
||||
|
||||
|
||||
# Space in neovim command line to display messages
|
||||
cmdheight = 2;
|
||||
|
||||
|
@ -130,6 +133,8 @@
|
|||
-- Neovide Fonts
|
||||
o.guifont = "JetBrainsMono Nerd Font"
|
||||
end
|
||||
|
||||
vim.loader.enable()
|
||||
'';
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue