mirror of
https://github.com/nix-community/nixvim.git
synced 2025-07-31 08:05:23 +02:00
modules/options: add localOptions and globalOptions
This commit is contained in:
parent
b140981d65
commit
02149dbb01
2 changed files with 66 additions and 0 deletions
32
tests/test-sources/modules/options.nix
Normal file
32
tests/test-sources/modules/options.nix
Normal file
|
@ -0,0 +1,32 @@
|
|||
{
|
||||
options = {
|
||||
options = {
|
||||
updatetime = 100; # Faster completion
|
||||
|
||||
# Line numbers
|
||||
relativenumber = true; # Relative line numbers
|
||||
number = true; # Display the absolute line number of the current line
|
||||
hidden = true; # Keep closed buffer open in the background
|
||||
mouse = "a"; # Enable mouse control
|
||||
mousemodel = "extend"; # Mouse right-click extends the current selection
|
||||
};
|
||||
|
||||
localOptions = {
|
||||
textwidth = 80;
|
||||
sidescrolloff = 0;
|
||||
};
|
||||
|
||||
globalOptions = {
|
||||
textwidth = 110;
|
||||
sidescrolloff = 10;
|
||||
};
|
||||
};
|
||||
|
||||
globals = {
|
||||
globals = {
|
||||
loaded_ruby_provider = 0;
|
||||
loaded_perl_provider = 0;
|
||||
loaded_python_provider = 0;
|
||||
};
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue