mirror of
https://github.com/akr2002/nv.git
synced 2025-03-12 18:06:15 +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 = {
|
config = {
|
||||||
options = {
|
options = {
|
||||||
# Relative line numbers
|
# Relative line numbers
|
||||||
|
@ -42,9 +46,8 @@
|
||||||
# Decrease update time
|
# Decrease update time
|
||||||
updatetime = 50;
|
updatetime = 50;
|
||||||
|
|
||||||
|
|
||||||
# Set completeopt
|
# Set completeopt
|
||||||
completeopt = [ "menuone" "noselect" "noinsert" ];
|
completeopt = ["menuone" "noselect" "noinsert"];
|
||||||
|
|
||||||
# Persistent undo history
|
# Persistent undo history
|
||||||
swapfile = false;
|
swapfile = false;
|
||||||
|
@ -77,7 +80,7 @@
|
||||||
|
|
||||||
# Encoding
|
# Encoding
|
||||||
encoding = "utf-8";
|
encoding = "utf-8";
|
||||||
fileencoding = "utf-8";
|
fileencoding = "utf-8";
|
||||||
|
|
||||||
# Cursor options
|
# Cursor options
|
||||||
guicursor = [
|
guicursor = [
|
||||||
|
@ -130,6 +133,8 @@
|
||||||
-- Neovide Fonts
|
-- Neovide Fonts
|
||||||
o.guifont = "JetBrainsMono Nerd Font"
|
o.guifont = "JetBrainsMono Nerd Font"
|
||||||
end
|
end
|
||||||
|
|
||||||
|
vim.loader.enable()
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue