mirror of
https://github.com/NotAShelf/nvf.git
synced 2026-01-17 07:43:21 +00:00
Compare commits
No commits in common. "0c90a7b1c691893a139aa9db94ec0f6e6b78e2f5" and "f672d3cdee3617ad1321808f51929b2d2dbb5133" have entirely different histories.
0c90a7b1c6
...
f672d3cdee
2 changed files with 41 additions and 53 deletions
|
|
@ -1,7 +1,3 @@
|
||||||
# This is the sample configuration for nvf, aiming to give you a feel of the default options
|
|
||||||
# while certain plugins are enabled. While it may act as one, this is not an overview of nvf's
|
|
||||||
# module options. To find a complete overview of nvf's options and examples, visit the manual.
|
|
||||||
# https://notashelf.github.io/nvf/options.html
|
|
||||||
isMaximal: {
|
isMaximal: {
|
||||||
config.vim = {
|
config.vim = {
|
||||||
viAlias = true;
|
viAlias = true;
|
||||||
|
|
@ -35,60 +31,54 @@ isMaximal: {
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
# This section does not include a comprehensive list of available language modules.
|
|
||||||
# To list all available language module options, please visit the nvf manual.
|
|
||||||
languages = {
|
languages = {
|
||||||
enableLSP = true;
|
enableLSP = true;
|
||||||
enableFormat = true;
|
enableFormat = true;
|
||||||
enableTreesitter = true;
|
enableTreesitter = true;
|
||||||
enableExtraDiagnostics = true;
|
enableExtraDiagnostics = true;
|
||||||
|
|
||||||
# Languages that will be supported in default and maximal configurations.
|
|
||||||
nix.enable = true;
|
|
||||||
markdown.enable = true;
|
|
||||||
|
|
||||||
# Languages that are enabled in the maximal configuration.
|
|
||||||
bash.enable = isMaximal;
|
|
||||||
clang.enable = isMaximal;
|
|
||||||
css.enable = isMaximal;
|
|
||||||
html.enable = isMaximal;
|
|
||||||
sql.enable = isMaximal;
|
|
||||||
java.enable = isMaximal;
|
|
||||||
kotlin.enable = isMaximal;
|
|
||||||
ts.enable = isMaximal;
|
|
||||||
go.enable = isMaximal;
|
|
||||||
lua.enable = isMaximal;
|
|
||||||
zig.enable = isMaximal;
|
|
||||||
python.enable = isMaximal;
|
|
||||||
typst.enable = isMaximal;
|
|
||||||
rust = {
|
|
||||||
enable = isMaximal;
|
|
||||||
crates.enable = isMaximal;
|
|
||||||
};
|
|
||||||
|
|
||||||
# Language modules that are not as common.
|
|
||||||
assembly.enable = false;
|
|
||||||
astro.enable = false;
|
|
||||||
nu.enable = false;
|
|
||||||
csharp.enable = false;
|
|
||||||
julia.enable = false;
|
|
||||||
vala.enable = false;
|
|
||||||
scala.enable = false;
|
|
||||||
r.enable = false;
|
|
||||||
gleam.enable = false;
|
|
||||||
dart.enable = false;
|
|
||||||
ocaml.enable = false;
|
|
||||||
elixir.enable = false;
|
|
||||||
|
|
||||||
tailwind.enable = false;
|
|
||||||
svelte.enable = false;
|
|
||||||
|
|
||||||
# Nim LSP is broken on Darwin and therefore
|
# Nim LSP is broken on Darwin and therefore
|
||||||
# should be disabled by default. Users may still enable
|
# should be disabled by default. Users may still enable
|
||||||
# `vim.languages.vim` to enable it, this does not restrict
|
# `vim.languages.vim` to enable it, this does not restrict
|
||||||
# that.
|
# that.
|
||||||
# See: <https://github.com/PMunch/nimlsp/issues/178#issue-2128106096>
|
# See: <https://github.com/PMunch/nimlsp/issues/178#issue-2128106096>
|
||||||
nim.enable = false;
|
nim.enable = false;
|
||||||
|
|
||||||
|
nix.enable = true;
|
||||||
|
|
||||||
|
# Assembly is not common, and the asm LSP is a major hit-or-miss
|
||||||
|
assembly.enable = false;
|
||||||
|
astro.enable = false;
|
||||||
|
markdown.enable = isMaximal;
|
||||||
|
html.enable = isMaximal;
|
||||||
|
css.enable = isMaximal;
|
||||||
|
sql.enable = isMaximal;
|
||||||
|
java.enable = isMaximal;
|
||||||
|
kotlin.enable = isMaximal;
|
||||||
|
ts.enable = isMaximal;
|
||||||
|
svelte.enable = isMaximal;
|
||||||
|
go.enable = isMaximal;
|
||||||
|
lua.enable = isMaximal;
|
||||||
|
elixir.enable = isMaximal;
|
||||||
|
zig.enable = isMaximal;
|
||||||
|
ocaml.enable = isMaximal;
|
||||||
|
python.enable = isMaximal;
|
||||||
|
dart.enable = isMaximal;
|
||||||
|
bash.enable = isMaximal;
|
||||||
|
gleam.enable = false;
|
||||||
|
r.enable = isMaximal;
|
||||||
|
tailwind.enable = isMaximal;
|
||||||
|
typst.enable = isMaximal;
|
||||||
|
clang.enable = isMaximal;
|
||||||
|
scala.enable = isMaximal;
|
||||||
|
rust = {
|
||||||
|
enable = isMaximal;
|
||||||
|
crates.enable = isMaximal;
|
||||||
|
};
|
||||||
|
csharp.enable = isMaximal;
|
||||||
|
julia.enable = isMaximal;
|
||||||
|
vala.enable = isMaximal;
|
||||||
|
nu.enable = false;
|
||||||
};
|
};
|
||||||
|
|
||||||
visuals = {
|
visuals = {
|
||||||
|
|
|
||||||
|
|
@ -13,43 +13,41 @@
|
||||||
builtin_themes = [
|
builtin_themes = [
|
||||||
"auto"
|
"auto"
|
||||||
"16color"
|
"16color"
|
||||||
|
"gruvbox"
|
||||||
"ayu_dark"
|
"ayu_dark"
|
||||||
"ayu_light"
|
"ayu_light"
|
||||||
"ayu_mirage"
|
"ayu_mirage"
|
||||||
"ayu"
|
"ayu"
|
||||||
"base16"
|
|
||||||
"codedark"
|
"codedark"
|
||||||
"dracula"
|
"dracula"
|
||||||
"everforest"
|
"everforest"
|
||||||
"gruvbox"
|
"gruvbox"
|
||||||
"gruvbox_dark"
|
"gruvbox_dark"
|
||||||
"gruvbox_light"
|
"gruvbox_light"
|
||||||
"gruvbox-material"
|
"gruvbox_material"
|
||||||
"horizon"
|
"horizon"
|
||||||
"iceberg_dark"
|
"iceberg_dark"
|
||||||
"iceberg_light"
|
"iceberg_light"
|
||||||
"iceberg"
|
"iceberg"
|
||||||
"jellybeans"
|
"jellybeans"
|
||||||
"material"
|
"material"
|
||||||
"modus-vivendi"
|
"modus_vivendi"
|
||||||
"molokai"
|
"molokai"
|
||||||
"moonfly"
|
"moonfly"
|
||||||
"nightfly"
|
"nightfly"
|
||||||
"nord"
|
"nord"
|
||||||
"OceanicNext"
|
"oceanicnext"
|
||||||
"onedark"
|
"onedark"
|
||||||
"onelight"
|
"onelight"
|
||||||
"palenight"
|
"palenight"
|
||||||
"papercolor_dark"
|
"papercolor_dark"
|
||||||
"papercolor_light"
|
"papercolor_light"
|
||||||
"PaperColor"
|
|
||||||
"powerline_dark"
|
"powerline_dark"
|
||||||
"powerline"
|
"powerline"
|
||||||
"pywal"
|
|
||||||
"seoul256"
|
"seoul256"
|
||||||
"solarized_dark"
|
"solarized_dark"
|
||||||
"solarized_light"
|
"solarized_light"
|
||||||
"Tomorrow"
|
"tomorrow"
|
||||||
"wombat"
|
"wombat"
|
||||||
];
|
];
|
||||||
in {
|
in {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue