mirror of
https://github.com/nix-community/nixvim.git
synced 2025-11-08 11:36:07 +01:00
Compare commits
24 commits
453ece9360
...
6dcfa84ef8
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
6dcfa84ef8 | ||
|
|
b402345fcb | ||
|
|
f0dceb449a | ||
|
|
9256b49ec0 | ||
|
|
7c949f2faf | ||
|
|
4728aae7cf | ||
|
|
a38fba5880 | ||
|
|
6aa891918a | ||
|
|
0a875e2d8a | ||
|
|
4363d100ef | ||
|
|
a554f2b0f0 | ||
|
|
4dbcc266e7 | ||
|
|
d01e1c17e2 | ||
|
|
beba0820c3 | ||
|
|
deb32aecac | ||
|
|
68b07c2c34 | ||
|
|
dfdc4aebfb | ||
|
|
79d53a50e2 | ||
|
|
9c2c9a1b35 | ||
|
|
aa3a1dfb02 | ||
|
|
77511e1915 | ||
|
|
2219f852d0 | ||
|
|
0dd3843bd6 | ||
|
|
044a9d1ab8 |
228 changed files with 912 additions and 1928 deletions
|
|
@ -182,9 +182,6 @@ cd nixvim
|
||||||
|
|
||||||
# Either setup nix-direnv, or manually enter a devshell using:
|
# Either setup nix-direnv, or manually enter a devshell using:
|
||||||
nix develop
|
nix develop
|
||||||
|
|
||||||
# List all created plugins with `mkVimPlugin`
|
|
||||||
list-plugins -k vim
|
|
||||||
```
|
```
|
||||||
|
|
||||||
#### Writing option examples
|
#### Writing option examples
|
||||||
|
|
|
||||||
12
flake.lock
generated
12
flake.lock
generated
|
|
@ -7,11 +7,11 @@
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1762040540,
|
"lastModified": 1762440070,
|
||||||
"narHash": "sha256-z5PlZ47j50VNF3R+IMS9LmzI5fYRGY/Z5O5tol1c9I4=",
|
"narHash": "sha256-xxdepIcb39UJ94+YydGP221rjnpkDZUlykKuF54PsqI=",
|
||||||
"owner": "hercules-ci",
|
"owner": "hercules-ci",
|
||||||
"repo": "flake-parts",
|
"repo": "flake-parts",
|
||||||
"rev": "0010412d62a25d959151790968765a70c436598b",
|
"rev": "26d05891e14c88eb4a5d5bee659c0db5afb609d8",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
|
@ -66,11 +66,11 @@
|
||||||
},
|
},
|
||||||
"nixpkgs": {
|
"nixpkgs": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1762156382,
|
"lastModified": 1762361079,
|
||||||
"narHash": "sha256-Yg7Ag7ov5+36jEFC1DaZh/12SEXo6OO3/8rqADRxiqs=",
|
"narHash": "sha256-lz718rr1BDpZBYk7+G8cE6wee3PiBUpn8aomG/vLLiY=",
|
||||||
"owner": "NixOS",
|
"owner": "NixOS",
|
||||||
"repo": "nixpkgs",
|
"repo": "nixpkgs",
|
||||||
"rev": "7241bcbb4f099a66aafca120d37c65e8dda32717",
|
"rev": "ffcdcf99d65c61956d882df249a9be53e5902ea5",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
|
|
||||||
|
|
@ -52,7 +52,6 @@
|
||||||
# Propagate `packages` from the `dev` partition:
|
# Propagate `packages` from the `dev` partition:
|
||||||
inherit (config.partitions.dev.module.flake.packages.${system})
|
inherit (config.partitions.dev.module.flake.packages.${system})
|
||||||
generate-all-maintainers
|
generate-all-maintainers
|
||||||
list-plugins
|
|
||||||
;
|
;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
|
||||||
|
|
@ -4,7 +4,6 @@
|
||||||
./fmt.nix
|
./fmt.nix
|
||||||
./generate-all-maintainers
|
./generate-all-maintainers
|
||||||
./git-hooks.nix
|
./git-hooks.nix
|
||||||
./list-plugins
|
|
||||||
./package-tests.nix
|
./package-tests.nix
|
||||||
./template-tests.nix
|
./template-tests.nix
|
||||||
./tests.nix
|
./tests.nix
|
||||||
|
|
|
||||||
30
flake/dev/flake.lock
generated
30
flake/dev/flake.lock
generated
|
|
@ -2,11 +2,11 @@
|
||||||
"nodes": {
|
"nodes": {
|
||||||
"dev-nixpkgs": {
|
"dev-nixpkgs": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1762156382,
|
"lastModified": 1762361079,
|
||||||
"narHash": "sha256-Yg7Ag7ov5+36jEFC1DaZh/12SEXo6OO3/8rqADRxiqs=",
|
"narHash": "sha256-lz718rr1BDpZBYk7+G8cE6wee3PiBUpn8aomG/vLLiY=",
|
||||||
"owner": "NixOS",
|
"owner": "NixOS",
|
||||||
"repo": "nixpkgs",
|
"repo": "nixpkgs",
|
||||||
"rev": "7241bcbb4f099a66aafca120d37c65e8dda32717",
|
"rev": "ffcdcf99d65c61956d882df249a9be53e5902ea5",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
|
@ -63,11 +63,11 @@
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1760663237,
|
"lastModified": 1762441963,
|
||||||
"narHash": "sha256-BflA6U4AM1bzuRMR8QqzPXqh8sWVCNDzOdsxXEguJIc=",
|
"narHash": "sha256-j+rNQ119ffYUkYt2YYS6rnd6Jh/crMZmbqpkGLXaEt0=",
|
||||||
"owner": "cachix",
|
"owner": "cachix",
|
||||||
"repo": "git-hooks.nix",
|
"repo": "git-hooks.nix",
|
||||||
"rev": "ca5b894d3e3e151ffc1db040b6ce4dcc75d31c37",
|
"rev": "8e7576e79b88c16d7ee3bbd112c8d90070832885",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
|
@ -104,11 +104,11 @@
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1762204486,
|
"lastModified": 1762463325,
|
||||||
"narHash": "sha256-W7Db8gIAxMsaogJWqFBNSpYSFER8hJLGanEyl8PhC+k=",
|
"narHash": "sha256-33YUsWpPyeBZEWrKQ2a1gkRZ7i0XCC/2MYpU6BVeQSU=",
|
||||||
"owner": "nix-community",
|
"owner": "nix-community",
|
||||||
"repo": "home-manager",
|
"repo": "home-manager",
|
||||||
"rev": "95d65dddae7ae6300b22cf1d61cb5e71dca8da5b",
|
"rev": "0562fef070a1027325dd4ea10813d64d2c967b39",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
|
@ -124,11 +124,11 @@
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1762186368,
|
"lastModified": 1762304480,
|
||||||
"narHash": "sha256-dzLBZKccS0jMefj+WAYwsk7gKDluqavC7I4KfFwVh8k=",
|
"narHash": "sha256-ikVIPB/ea/BAODk6aksgkup9k2jQdrwr4+ZRXtBgmSs=",
|
||||||
"owner": "lnl7",
|
"owner": "lnl7",
|
||||||
"repo": "nix-darwin",
|
"repo": "nix-darwin",
|
||||||
"rev": "69921864a70b58787abf5ba189095566c3f0ffd3",
|
"rev": "b8c7ac030211f18bd1f41eae0b815571853db7a2",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
|
@ -155,11 +155,11 @@
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1761311587,
|
"lastModified": 1762410071,
|
||||||
"narHash": "sha256-Msq86cR5SjozQGCnC6H8C+0cD4rnx91BPltZ9KK613Y=",
|
"narHash": "sha256-aF5fvoZeoXNPxT0bejFUBXeUjXfHLSL7g+mjR/p5TEg=",
|
||||||
"owner": "numtide",
|
"owner": "numtide",
|
||||||
"repo": "treefmt-nix",
|
"repo": "treefmt-nix",
|
||||||
"rev": "2eddae033e4e74bf581c2d1dfa101f9033dbd2dc",
|
"rev": "97a30861b13c3731a84e09405414398fbf3e109f",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
|
|
||||||
|
|
@ -1,42 +0,0 @@
|
||||||
{ self, ... }:
|
|
||||||
{
|
|
||||||
perSystem =
|
|
||||||
{
|
|
||||||
lib,
|
|
||||||
pkgs,
|
|
||||||
...
|
|
||||||
}:
|
|
||||||
let
|
|
||||||
package = pkgs.writers.writePython3Bin "list-plugins" {
|
|
||||||
# Disable flake8 checks that are incompatible with the ruff ones
|
|
||||||
flakeIgnore = [
|
|
||||||
# Thinks shebang is a block comment
|
|
||||||
"E265"
|
|
||||||
# line too long
|
|
||||||
"E501"
|
|
||||||
# line break before binary operator
|
|
||||||
"W503"
|
|
||||||
];
|
|
||||||
} (builtins.readFile ./list-plugins.py);
|
|
||||||
in
|
|
||||||
{
|
|
||||||
packages.list-plugins = package;
|
|
||||||
|
|
||||||
checks.list-plugins-test =
|
|
||||||
pkgs.runCommand "list-plugins-test"
|
|
||||||
{
|
|
||||||
nativeBuildInputs = [ package ];
|
|
||||||
}
|
|
||||||
''
|
|
||||||
list-plugins --root-path ${self} > $out
|
|
||||||
'';
|
|
||||||
|
|
||||||
devshells.default.commands = [
|
|
||||||
{
|
|
||||||
name = "list-plugins";
|
|
||||||
command = ''${lib.getExe package} "$@"'';
|
|
||||||
help = "List plugins and get implementation infos";
|
|
||||||
}
|
|
||||||
];
|
|
||||||
};
|
|
||||||
}
|
|
||||||
|
|
@ -1,268 +0,0 @@
|
||||||
#!/usr/bin/env nix-shell
|
|
||||||
#!nix-shell -i python3 -p python3
|
|
||||||
|
|
||||||
import glob
|
|
||||||
import os
|
|
||||||
import re
|
|
||||||
from argparse import ArgumentParser, RawTextHelpFormatter
|
|
||||||
from dataclasses import dataclass
|
|
||||||
from enum import Enum
|
|
||||||
from typing import Optional
|
|
||||||
|
|
||||||
# Ignore files that are not plugin definitions
|
|
||||||
EXCLUDES: list[str] = [
|
|
||||||
# Patterns
|
|
||||||
"TEMPLATE.nix",
|
|
||||||
"deprecations.nix",
|
|
||||||
"helpers.nix",
|
|
||||||
"renamed-options",
|
|
||||||
"settings-options.nix",
|
|
||||||
# Specific files
|
|
||||||
"colorschemes/base16/theme-list.nix",
|
|
||||||
"plugins/by-name/blink-cmp/provider-config.nix",
|
|
||||||
"plugins/by-name/conform-nvim/auto-install.nix",
|
|
||||||
"plugins/by-name/conform-nvim/formatter-packages.nix",
|
|
||||||
"plugins/by-name/dap/dapHelpers.nix",
|
|
||||||
"plugins/by-name/efmls-configs/packages.nix",
|
|
||||||
"plugins/by-name/hydra/hydras-option.nix",
|
|
||||||
"plugins/by-name/hydra/settings-options.nix",
|
|
||||||
"plugins/by-name/neotest/adapters-list.nix",
|
|
||||||
"plugins/by-name/neotest/adapters.nix",
|
|
||||||
"plugins/by-name/none-ls/_mk-source-plugin.nix",
|
|
||||||
"plugins/by-name/none-ls/packages.nix",
|
|
||||||
"plugins/by-name/none-ls/prettier.nix",
|
|
||||||
"plugins/by-name/none-ls/prettierd.nix",
|
|
||||||
"plugins/by-name/none-ls/settings.nix",
|
|
||||||
"plugins/by-name/none-ls/sources.nix",
|
|
||||||
"plugins/by-name/openscad/fuzzy-finder-plugin-option.nix",
|
|
||||||
"plugins/by-name/rustaceanvim/renamed-options.nix",
|
|
||||||
"plugins/by-name/telescope/extensions/_mk-extension.nix",
|
|
||||||
"plugins/by-name/telescope/extensions/default.nix",
|
|
||||||
"plugins/by-name/telescope/extensions/zf-native.nix",
|
|
||||||
"plugins/cmp/auto-enable.nix",
|
|
||||||
"plugins/cmp/options/",
|
|
||||||
"plugins/cmp/sources/cmp-fish.nix",
|
|
||||||
"plugins/cmp/sources/default.nix",
|
|
||||||
"plugins/default.nix",
|
|
||||||
"plugins/deprecation.nix",
|
|
||||||
"plugins/lsp/language-servers/",
|
|
||||||
"plugins/lsp/lsp-packages.nix",
|
|
||||||
]
|
|
||||||
|
|
||||||
|
|
||||||
class Kind(Enum):
|
|
||||||
NEOVIM = 1
|
|
||||||
VIM = 2
|
|
||||||
MISC = 3
|
|
||||||
|
|
||||||
|
|
||||||
class State(Enum):
|
|
||||||
UNKNOWN = "❔"
|
|
||||||
NEW = "✅"
|
|
||||||
OLD = "❌"
|
|
||||||
|
|
||||||
|
|
||||||
KNOWN_PATHS: dict[
|
|
||||||
str,
|
|
||||||
tuple[
|
|
||||||
State, # If the implem is "legacy" or up to date
|
|
||||||
Kind, # Vim / Neovim / misc
|
|
||||||
bool, # Has deprecation warnings
|
|
||||||
],
|
|
||||||
] = {}
|
|
||||||
for telescope_extension_name, has_depr_warnings in {
|
|
||||||
"advanced-git-search": False,
|
|
||||||
"file-browser": True,
|
|
||||||
"frecency": True,
|
|
||||||
"fzf-native": True,
|
|
||||||
"fzy-native": True,
|
|
||||||
"live-greps-args": False,
|
|
||||||
"manix": False,
|
|
||||||
"media-files": True,
|
|
||||||
"project": False,
|
|
||||||
"ui-select": False,
|
|
||||||
"undo": True,
|
|
||||||
"zoxide": False,
|
|
||||||
}.items():
|
|
||||||
KNOWN_PATHS[
|
|
||||||
f"plugins/by-name/telescope/extensions/{telescope_extension_name}.nix"
|
|
||||||
] = (
|
|
||||||
State.NEW,
|
|
||||||
Kind.MISC,
|
|
||||||
has_depr_warnings,
|
|
||||||
)
|
|
||||||
|
|
||||||
|
|
||||||
DEPRECATION_REGEX: list[re.Pattern] = [
|
|
||||||
re.compile(rf".*{pattern}", re.DOTALL)
|
|
||||||
for pattern in [
|
|
||||||
"deprecateExtra",
|
|
||||||
"mkRemovedOptionModule",
|
|
||||||
"mkRenamedOptionModule",
|
|
||||||
"optionsRenamedToSettings",
|
|
||||||
]
|
|
||||||
]
|
|
||||||
|
|
||||||
|
|
||||||
@dataclass
|
|
||||||
class Plugin:
|
|
||||||
path: str
|
|
||||||
state: State
|
|
||||||
kind: Kind
|
|
||||||
dep_warnings: bool
|
|
||||||
|
|
||||||
def __str__(self) -> str:
|
|
||||||
state_icon: str = self.state.value
|
|
||||||
kind_icon: str
|
|
||||||
match self.kind:
|
|
||||||
case Kind.NEOVIM:
|
|
||||||
kind_icon = "\033[94m" + " "
|
|
||||||
case Kind.VIM:
|
|
||||||
kind_icon = "\033[92m" + " "
|
|
||||||
case Kind.MISC:
|
|
||||||
kind_icon = "\033[92m" + "🟢"
|
|
||||||
case _:
|
|
||||||
assert False
|
|
||||||
deprecation_icon: str = "⚠️ " if self.dep_warnings else " "
|
|
||||||
|
|
||||||
return (
|
|
||||||
f"| {kind_icon}\033[0m | {state_icon} | {deprecation_icon} | {self.path}"
|
|
||||||
)
|
|
||||||
|
|
||||||
def print_markdown(self) -> None:
|
|
||||||
print(f"- [ ] {self.path} ({self.kind.name.lower()})")
|
|
||||||
|
|
||||||
|
|
||||||
def has_deprecation_warnings(string: str) -> bool:
|
|
||||||
for regex in DEPRECATION_REGEX:
|
|
||||||
if re.match(regex, string):
|
|
||||||
return True
|
|
||||||
return False
|
|
||||||
|
|
||||||
|
|
||||||
def parse_file(path: str) -> Optional[Plugin]:
|
|
||||||
file_content: str = ""
|
|
||||||
with open(path, "r") as f:
|
|
||||||
file_content = f.read()
|
|
||||||
|
|
||||||
known_path: str
|
|
||||||
props: tuple[State, Kind, bool]
|
|
||||||
for known_path, props in KNOWN_PATHS.items():
|
|
||||||
if known_path in path:
|
|
||||||
return Plugin(
|
|
||||||
path=path,
|
|
||||||
state=props[0],
|
|
||||||
kind=props[1],
|
|
||||||
dep_warnings=props[2],
|
|
||||||
)
|
|
||||||
|
|
||||||
state: State = State.UNKNOWN
|
|
||||||
kind: Kind
|
|
||||||
if re.match(
|
|
||||||
re.compile(r".*mkNeovimPlugin", re.DOTALL),
|
|
||||||
file_content,
|
|
||||||
):
|
|
||||||
kind = Kind.NEOVIM
|
|
||||||
state = State.NEW
|
|
||||||
elif re.match(
|
|
||||||
re.compile(r".*require.+setup", re.DOTALL),
|
|
||||||
file_content,
|
|
||||||
):
|
|
||||||
kind = Kind.NEOVIM
|
|
||||||
state = State.OLD
|
|
||||||
elif re.match(
|
|
||||||
re.compile(r".*mkVimPlugin", re.DOTALL),
|
|
||||||
file_content,
|
|
||||||
):
|
|
||||||
kind = Kind.VIM
|
|
||||||
state = State.NEW
|
|
||||||
else:
|
|
||||||
raise ValueError(
|
|
||||||
f"I was not able to categorize `{path}`. Consider adding it to `EXCLUDES` or `KNOWN_PATHS`."
|
|
||||||
)
|
|
||||||
|
|
||||||
return Plugin(
|
|
||||||
path=path,
|
|
||||||
state=state,
|
|
||||||
kind=kind,
|
|
||||||
dep_warnings=has_deprecation_warnings(string=file_content),
|
|
||||||
)
|
|
||||||
|
|
||||||
|
|
||||||
def _is_excluded(path: str) -> bool:
|
|
||||||
for exclude_pattern in EXCLUDES:
|
|
||||||
if exclude_pattern in path:
|
|
||||||
return False
|
|
||||||
return True
|
|
||||||
|
|
||||||
|
|
||||||
def main(args) -> None:
|
|
||||||
pathname: str = os.path.join(args.root_path, "plugins/**/*.nix")
|
|
||||||
paths: list[str] = glob.glob(pathname=pathname, recursive=True)
|
|
||||||
filtered_paths: list[str] = list(filter(_is_excluded, paths))
|
|
||||||
filtered_paths.sort()
|
|
||||||
|
|
||||||
if not args.markdown:
|
|
||||||
print("| Typ | Sty | DW | path")
|
|
||||||
print(
|
|
||||||
"|-----|-----|----|--------------------------------------------------------"
|
|
||||||
)
|
|
||||||
|
|
||||||
for plugin_path in filtered_paths:
|
|
||||||
plugin: Optional[Plugin] = parse_file(path=plugin_path)
|
|
||||||
if plugin is not None:
|
|
||||||
if (
|
|
||||||
(args.kind is None or plugin.kind.name.lower() == args.kind)
|
|
||||||
and (args.state is None or plugin.state.name.lower() == args.state)
|
|
||||||
and (not args.deprecation_warnings or plugin.dep_warnings)
|
|
||||||
):
|
|
||||||
if args.markdown:
|
|
||||||
plugin.print_markdown()
|
|
||||||
else:
|
|
||||||
print(plugin)
|
|
||||||
|
|
||||||
|
|
||||||
if __name__ == "__main__":
|
|
||||||
parser: ArgumentParser = ArgumentParser(
|
|
||||||
description="""
|
|
||||||
Analyze Nixvim plugin files
|
|
||||||
Output formats a table showing:
|
|
||||||
If a plugin is written for Neovim or Vim.
|
|
||||||
If the plugin has been updated to latest style standards.
|
|
||||||
If a plugin contains any deprecation warnings.
|
|
||||||
""",
|
|
||||||
formatter_class=RawTextHelpFormatter,
|
|
||||||
)
|
|
||||||
# TODO: consider automatically localizing the flake's root.
|
|
||||||
parser.add_argument(
|
|
||||||
"--root-path",
|
|
||||||
type=str,
|
|
||||||
default="./",
|
|
||||||
help="The path to the root of the nixvim repo",
|
|
||||||
)
|
|
||||||
parser.add_argument(
|
|
||||||
"-k",
|
|
||||||
"--kind",
|
|
||||||
choices=[k.name.lower() for k in Kind],
|
|
||||||
help="Filter plugins by kind (neovim, vim, misc)",
|
|
||||||
)
|
|
||||||
parser.add_argument(
|
|
||||||
"-s",
|
|
||||||
"--state",
|
|
||||||
choices=[s.name.lower() for s in State],
|
|
||||||
help="Filter plugins by state (new, old, unknown)",
|
|
||||||
)
|
|
||||||
parser.add_argument(
|
|
||||||
"-d",
|
|
||||||
"--deprecation-warnings",
|
|
||||||
action="store_true",
|
|
||||||
help="Show only plugins with deprecation warnings",
|
|
||||||
)
|
|
||||||
parser.add_argument(
|
|
||||||
"-m",
|
|
||||||
"--markdown",
|
|
||||||
action="store_true",
|
|
||||||
help="Markdown output",
|
|
||||||
)
|
|
||||||
|
|
||||||
main(parser.parse_args())
|
|
||||||
|
|
@ -1,177 +1,113 @@
|
||||||
{
|
{ lib, ... }:
|
||||||
lib,
|
lib.nixvim.plugins.mkNeovimPlugin {
|
||||||
config,
|
name = "alpha";
|
||||||
pkgs,
|
package = "alpha-nvim";
|
||||||
...
|
|
||||||
}:
|
|
||||||
let
|
|
||||||
inherit (lib) types mkOption;
|
|
||||||
|
|
||||||
cfg = config.plugins.alpha;
|
maintainers = [ lib.maintainers.HeitorAugustoLN ];
|
||||||
|
|
||||||
sectionType = types.submodule {
|
# TODO Added 2025-10-26: remove after 26.05
|
||||||
freeformType = with types; attrsOf anything;
|
optionsRenamedToSettings = [
|
||||||
options = {
|
"opts"
|
||||||
type = mkOption {
|
"layout"
|
||||||
type = types.enum [
|
];
|
||||||
"button"
|
|
||||||
"group"
|
settingsExample = {
|
||||||
"padding"
|
layout = [
|
||||||
"text"
|
{
|
||||||
"terminal"
|
type = "padding";
|
||||||
|
val = 2;
|
||||||
|
}
|
||||||
|
{
|
||||||
|
type = "text";
|
||||||
|
val = [
|
||||||
|
"███╗ ██╗██╗██╗ ██╗██╗ ██╗██╗███╗ ███╗"
|
||||||
|
"████╗ ██║██║╚██╗██╔╝██║ ██║██║████╗ ████║"
|
||||||
|
"██╔██╗ ██║██║ ╚███╔╝ ██║ ██║██║██╔████╔██║"
|
||||||
|
"██║╚██╗██║██║ ██╔██╗ ╚██╗ ██╔╝██║██║╚██╔╝██║"
|
||||||
|
"██║ ╚████║██║██╔╝ ██╗ ╚████╔╝ ██║██║ ╚═╝ ██║"
|
||||||
|
"╚═╝ ╚═══╝╚═╝╚═╝ ╚═╝ ╚═══╝ ╚═╝╚═╝ ╚═╝"
|
||||||
];
|
];
|
||||||
description = "Type of section";
|
opts = {
|
||||||
};
|
position = "center";
|
||||||
|
hl = "Type";
|
||||||
|
};
|
||||||
|
}
|
||||||
|
{
|
||||||
|
type = "padding";
|
||||||
|
val = 2;
|
||||||
|
}
|
||||||
|
{
|
||||||
|
type = "group";
|
||||||
|
val = [
|
||||||
|
{
|
||||||
|
type = "button";
|
||||||
|
val = " New file";
|
||||||
|
on_press = lib.nixvim.nestedLiteralLua "function() vim.cmd[[ene]] end";
|
||||||
|
opts.shortcut = "n";
|
||||||
|
}
|
||||||
|
{
|
||||||
|
type = "button";
|
||||||
|
val = " Quit Neovim";
|
||||||
|
on_press = lib.nixvim.nestedLiteralLua "function() vim.cmd[[qa]] end";
|
||||||
|
opts.shortcut = "q";
|
||||||
|
}
|
||||||
|
];
|
||||||
|
}
|
||||||
|
{
|
||||||
|
type = "padding";
|
||||||
|
val = 2;
|
||||||
|
}
|
||||||
|
{
|
||||||
|
type = "text";
|
||||||
|
val = "Inspiring quote here.";
|
||||||
|
opts = {
|
||||||
|
position = "center";
|
||||||
|
hl = "Keyword";
|
||||||
|
};
|
||||||
|
}
|
||||||
|
];
|
||||||
|
};
|
||||||
|
|
||||||
val = lib.nixvim.mkNullOrOption (
|
extraOptions = {
|
||||||
with types;
|
theme = lib.mkOption {
|
||||||
nullOr (oneOf [
|
type =
|
||||||
|
with lib.types;
|
||||||
# "button", "text"
|
let
|
||||||
(maybeRaw str)
|
# TODO: deprecated 2025-10-30, remove after 26.05
|
||||||
# "padding"
|
old = nullOr (maybeRaw str);
|
||||||
int
|
new = nullOr str;
|
||||||
(listOf (
|
in
|
||||||
either
|
old // { inherit (new) description; };
|
||||||
# "text" (list of strings)
|
default = null;
|
||||||
str
|
example = "dashboard";
|
||||||
# "group"
|
description = "You can directly use a pre-defined theme.";
|
||||||
(attrsOf anything)
|
|
||||||
))
|
|
||||||
])
|
|
||||||
) "Value for section";
|
|
||||||
|
|
||||||
opts = mkOption {
|
|
||||||
type = with types; attrsOf anything;
|
|
||||||
default = { };
|
|
||||||
description = "Additional options for the section";
|
|
||||||
};
|
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
in
|
|
||||||
{
|
callSetup = false;
|
||||||
options = {
|
extraConfig = cfg: opts: {
|
||||||
|
assertions = lib.nixvim.mkAssertions "plugins.alpha" {
|
||||||
|
assertion = cfg.theme != null -> builtins.isString cfg.theme;
|
||||||
|
message = ''
|
||||||
|
Defining `${opts.theme}` as raw lua is deprecated. You can define `${opts.settings}` as raw lua instead:
|
||||||
|
${opts.settings} = lib.nixvim.mkRaw ${lib.generators.toPretty { } cfg.theme.__raw};
|
||||||
|
'';
|
||||||
|
};
|
||||||
plugins.alpha = {
|
plugins.alpha = {
|
||||||
enable = lib.mkEnableOption "alpha-nvim";
|
settings = lib.mkIf (cfg.theme != null) (
|
||||||
|
lib.mkDerivedConfig opts.theme (
|
||||||
|
value:
|
||||||
|
if builtins.isString value then
|
||||||
|
lib.nixvim.mkRaw "require('alpha.themes.${value}').config"
|
||||||
|
else
|
||||||
|
value
|
||||||
|
)
|
||||||
|
);
|
||||||
|
|
||||||
package = lib.mkPackageOption pkgs "alpha-nvim" {
|
luaConfig.content = ''
|
||||||
default = [
|
require('alpha').setup(${lib.nixvim.toLuaObject cfg.settings})
|
||||||
"vimPlugins"
|
require('alpha.term')
|
||||||
"alpha-nvim"
|
|
||||||
];
|
|
||||||
};
|
|
||||||
|
|
||||||
theme = mkOption {
|
|
||||||
type = with types; nullOr (maybeRaw str);
|
|
||||||
apply = v: if lib.isString v then lib.nixvim.mkRaw "require'alpha.themes.${v}'.config" else v;
|
|
||||||
default = null;
|
|
||||||
example = "dashboard";
|
|
||||||
description = "You can directly use a pre-defined theme.";
|
|
||||||
};
|
|
||||||
|
|
||||||
layout = mkOption {
|
|
||||||
type = with types; either (maybeRaw str) (listOf sectionType);
|
|
||||||
default = [ ];
|
|
||||||
description = "List of sections to layout for the dashboard";
|
|
||||||
example = [
|
|
||||||
{
|
|
||||||
type = "padding";
|
|
||||||
val = 2;
|
|
||||||
}
|
|
||||||
{
|
|
||||||
type = "text";
|
|
||||||
val = [
|
|
||||||
"███╗ ██╗██╗██╗ ██╗██╗ ██╗██╗███╗ ███╗"
|
|
||||||
"████╗ ██║██║╚██╗██╔╝██║ ██║██║████╗ ████║"
|
|
||||||
"██╔██╗ ██║██║ ╚███╔╝ ██║ ██║██║██╔████╔██║"
|
|
||||||
"██║╚██╗██║██║ ██╔██╗ ╚██╗ ██╔╝██║██║╚██╔╝██║"
|
|
||||||
"██║ ╚████║██║██╔╝ ██╗ ╚████╔╝ ██║██║ ╚═╝ ██║"
|
|
||||||
"╚═╝ ╚═══╝╚═╝╚═╝ ╚═╝ ╚═══╝ ╚═╝╚═╝ ╚═╝"
|
|
||||||
];
|
|
||||||
opts = {
|
|
||||||
position = "center";
|
|
||||||
hl = "Type";
|
|
||||||
};
|
|
||||||
}
|
|
||||||
{
|
|
||||||
type = "padding";
|
|
||||||
val = 2;
|
|
||||||
}
|
|
||||||
{
|
|
||||||
type = "group";
|
|
||||||
val = [
|
|
||||||
{
|
|
||||||
type = "button";
|
|
||||||
val = " New file";
|
|
||||||
on_press.__raw = "function() vim.cmd[[ene]] end";
|
|
||||||
opts.shortcut = "n";
|
|
||||||
}
|
|
||||||
{
|
|
||||||
type = "button";
|
|
||||||
val = " Quit Neovim";
|
|
||||||
on_press.__raw = "function() vim.cmd[[qa]] end";
|
|
||||||
opts.shortcut = "q";
|
|
||||||
}
|
|
||||||
];
|
|
||||||
}
|
|
||||||
{
|
|
||||||
type = "padding";
|
|
||||||
val = 2;
|
|
||||||
}
|
|
||||||
{
|
|
||||||
type = "text";
|
|
||||||
val = "Inspiring quote here.";
|
|
||||||
opts = {
|
|
||||||
position = "center";
|
|
||||||
hl = "Keyword";
|
|
||||||
};
|
|
||||||
}
|
|
||||||
];
|
|
||||||
};
|
|
||||||
|
|
||||||
opts = lib.nixvim.mkNullOrOption (with types; attrsOf anything) ''
|
|
||||||
Optional global options.
|
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
config =
|
|
||||||
let
|
|
||||||
layoutDefined = cfg.layout != [ ];
|
|
||||||
themeDefined = cfg.theme != null;
|
|
||||||
in
|
|
||||||
lib.mkIf cfg.enable {
|
|
||||||
extraPlugins = [ cfg.package ];
|
|
||||||
|
|
||||||
assertions = lib.nixvim.mkAssertions "plugins.alpha" [
|
|
||||||
{
|
|
||||||
assertion = themeDefined || layoutDefined;
|
|
||||||
message = ''
|
|
||||||
You have to either set a `theme` or define some sections in `layout`.
|
|
||||||
'';
|
|
||||||
}
|
|
||||||
{
|
|
||||||
assertion = !(themeDefined && layoutDefined);
|
|
||||||
message = ''
|
|
||||||
You can't define both a `theme` and custom options.
|
|
||||||
Set `plugins.alpha.theme = null` if you want to configure alpha manually using the `layout` option.
|
|
||||||
'';
|
|
||||||
}
|
|
||||||
];
|
|
||||||
|
|
||||||
extraConfigLua =
|
|
||||||
let
|
|
||||||
setupOptions =
|
|
||||||
if themeDefined then
|
|
||||||
cfg.theme
|
|
||||||
else
|
|
||||||
(with cfg; {
|
|
||||||
inherit layout opts;
|
|
||||||
});
|
|
||||||
in
|
|
||||||
''
|
|
||||||
require('alpha').setup(${lib.nixvim.toLuaObject setupOptions})
|
|
||||||
require('alpha.term')
|
|
||||||
'';
|
|
||||||
};
|
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -1,79 +1,13 @@
|
||||||
{
|
{
|
||||||
lib,
|
lib,
|
||||||
helpers,
|
|
||||||
...
|
...
|
||||||
}:
|
}:
|
||||||
with lib;
|
|
||||||
lib.nixvim.plugins.mkNeovimPlugin {
|
lib.nixvim.plugins.mkNeovimPlugin {
|
||||||
name = "cloak";
|
name = "cloak";
|
||||||
package = "cloak-nvim";
|
package = "cloak-nvim";
|
||||||
description = "Cloak allows you to overlay *'s over defined patterns.";
|
description = "Cloak allows you to overlay *'s over defined patterns.";
|
||||||
|
|
||||||
maintainers = [ maintainers.GaetanLepage ];
|
maintainers = [ lib.maintainers.GaetanLepage ];
|
||||||
|
|
||||||
settingsOptions = {
|
|
||||||
enabled = helpers.defaultNullOpts.mkBool true ''
|
|
||||||
Whether to enable the plugin.
|
|
||||||
'';
|
|
||||||
|
|
||||||
cloak_character = helpers.defaultNullOpts.mkStr "*" ''
|
|
||||||
Define the cloak character.
|
|
||||||
'';
|
|
||||||
|
|
||||||
highlight_group = helpers.defaultNullOpts.mkStr "Comment" ''
|
|
||||||
The applied highlight group (colors) on the cloaking, see `:h highlight`.
|
|
||||||
'';
|
|
||||||
|
|
||||||
cloak_length = helpers.mkNullOrOption types.ints.unsigned ''
|
|
||||||
Provide a number if you want to hide the true length of the value.
|
|
||||||
Applies the length of the replacement characters for all matched patterns, defaults to the
|
|
||||||
length of the matched pattern.
|
|
||||||
'';
|
|
||||||
|
|
||||||
try_all_patterns = helpers.defaultNullOpts.mkBool true ''
|
|
||||||
Whether it should try every pattern to find the best fit or stop after the first.
|
|
||||||
'';
|
|
||||||
|
|
||||||
cloak_telescope = helpers.defaultNullOpts.mkBool true ''
|
|
||||||
Set to true to cloak Telescope preview buffers.
|
|
||||||
(Required feature not in 0.1.x)
|
|
||||||
'';
|
|
||||||
|
|
||||||
patterns =
|
|
||||||
helpers.defaultNullOpts.mkListOf
|
|
||||||
(types.submodule {
|
|
||||||
options = {
|
|
||||||
file_pattern = helpers.defaultNullOpts.mkNullable (with types; either str (listOf str)) ".env*" ''
|
|
||||||
One or several patterns to match against.
|
|
||||||
They should be valid autocommand patterns.
|
|
||||||
'';
|
|
||||||
|
|
||||||
cloak_pattern = helpers.defaultNullOpts.mkNullable (with types; either str (listOf str)) "=.+" ''
|
|
||||||
One or several patterns to cloak.
|
|
||||||
|
|
||||||
Example: `[":.+" "-.+"]` for yaml files.
|
|
||||||
'';
|
|
||||||
|
|
||||||
replace = helpers.mkNullOrOption types.anything ''
|
|
||||||
A function, table or string to generate the replacement.
|
|
||||||
The actual replacement will contain the `cloak_character` where it doesn't cover
|
|
||||||
the original text.
|
|
||||||
If left empty the legacy behavior of keeping the first character is retained.
|
|
||||||
'';
|
|
||||||
};
|
|
||||||
})
|
|
||||||
[
|
|
||||||
{
|
|
||||||
|
|
||||||
file_pattern = ".env*";
|
|
||||||
cloak_pattern = "=.+";
|
|
||||||
replace = null;
|
|
||||||
}
|
|
||||||
]
|
|
||||||
''
|
|
||||||
List of pattern configurations.
|
|
||||||
'';
|
|
||||||
};
|
|
||||||
|
|
||||||
settingsExample = {
|
settingsExample = {
|
||||||
enabled = true;
|
enabled = true;
|
||||||
|
|
|
||||||
|
|
@ -2,12 +2,6 @@
|
||||||
lib,
|
lib,
|
||||||
...
|
...
|
||||||
}:
|
}:
|
||||||
let
|
|
||||||
inherit (lib) types;
|
|
||||||
inherit (lib.nixvim) defaultNullOpts;
|
|
||||||
|
|
||||||
dapHelpers = import ../dap/dapHelpers.nix { inherit lib; };
|
|
||||||
in
|
|
||||||
lib.nixvim.plugins.mkNeovimPlugin {
|
lib.nixvim.plugins.mkNeovimPlugin {
|
||||||
name = "dap-go";
|
name = "dap-go";
|
||||||
package = "nvim-dap-go";
|
package = "nvim-dap-go";
|
||||||
|
|
@ -15,30 +9,6 @@ lib.nixvim.plugins.mkNeovimPlugin {
|
||||||
|
|
||||||
maintainers = [ lib.maintainers.khaneliman ];
|
maintainers = [ lib.maintainers.khaneliman ];
|
||||||
|
|
||||||
settingsOptions = {
|
|
||||||
dap_configurations = lib.nixvim.mkNullOrOption (types.listOf dapHelpers.configurationType) ''
|
|
||||||
Additional dap configurations.
|
|
||||||
See `:h dap-configuration` for more detail.
|
|
||||||
'';
|
|
||||||
|
|
||||||
delve = {
|
|
||||||
path = defaultNullOpts.mkStr "dlv" "The path to the executable dlv which will be used for debugging.";
|
|
||||||
|
|
||||||
initialize_timeout_sec = defaultNullOpts.mkUnsignedInt 20 "Time to wait for delve to initialize the debug session.";
|
|
||||||
|
|
||||||
port = defaultNullOpts.mkStr "$${port}" ''
|
|
||||||
A string that defines the port to start delve debugger.
|
|
||||||
|
|
||||||
Defaults to string "$${port}" which instructs dap
|
|
||||||
to start the process in a random available port.
|
|
||||||
'';
|
|
||||||
|
|
||||||
args = lib.nixvim.mkNullOrOption (types.listOf types.str) "Additional args to pass to dlv.";
|
|
||||||
|
|
||||||
build_flags = defaultNullOpts.mkStr "" "Build flags to pass to dlv.";
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
# Manually supplied to nvim-dap config module
|
# Manually supplied to nvim-dap config module
|
||||||
callSetup = false;
|
callSetup = false;
|
||||||
extraConfig = cfg: {
|
extraConfig = cfg: {
|
||||||
|
|
|
||||||
|
|
@ -4,7 +4,7 @@
|
||||||
}:
|
}:
|
||||||
let
|
let
|
||||||
inherit (lib) types;
|
inherit (lib) types;
|
||||||
inherit (lib.nixvim) defaultNullOpts mkNullOrOption;
|
inherit (lib.nixvim) defaultNullOpts mkNullOrOption nestedLiteralLua;
|
||||||
in
|
in
|
||||||
lib.nixvim.plugins.mkVimPlugin {
|
lib.nixvim.plugins.mkVimPlugin {
|
||||||
name = "emmet";
|
name = "emmet";
|
||||||
|
|
@ -49,11 +49,11 @@ lib.nixvim.plugins.mkVimPlugin {
|
||||||
html = {
|
html = {
|
||||||
default_attributes = {
|
default_attributes = {
|
||||||
option = {
|
option = {
|
||||||
value = null;
|
value = nestedLiteralLua "nil";
|
||||||
};
|
};
|
||||||
textarea = {
|
textarea = {
|
||||||
id = null;
|
id = nestedLiteralLua "nil";
|
||||||
name = null;
|
name = nestedLiteralLua "nil";
|
||||||
cols = 10;
|
cols = 10;
|
||||||
rows = 10;
|
rows = 10;
|
||||||
};
|
};
|
||||||
|
|
|
||||||
|
|
@ -1,65 +1,9 @@
|
||||||
lib:
|
lib:
|
||||||
let
|
let
|
||||||
inherit (lib) types;
|
inherit (lib.nixvim) defaultNullOpts;
|
||||||
inherit (lib.nixvim)
|
|
||||||
defaultNullOpts
|
|
||||||
mkNullOrOption'
|
|
||||||
mkNullOrOption
|
|
||||||
literalLua
|
|
||||||
;
|
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
ui = {
|
|
||||||
border = defaultNullOpts.mkBorder' {
|
|
||||||
pluginDefault = "single";
|
|
||||||
example = "rounded";
|
|
||||||
name = "all floating windows";
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
decorations = {
|
|
||||||
statusline = {
|
|
||||||
app_version = defaultNullOpts.mkBool false ''
|
|
||||||
Set to true to be able use the `flutter_tools_decorations.app_version` in your statusline.
|
|
||||||
|
|
||||||
This will show the current version of the flutter app from the `pubspec.yaml` file.
|
|
||||||
'';
|
|
||||||
|
|
||||||
device = defaultNullOpts.mkBool false ''
|
|
||||||
Set to true to be able use the `flutter_tools_decorations.device` in your statusline.
|
|
||||||
|
|
||||||
This will show the currently running device if an application was started with a specific
|
|
||||||
device.
|
|
||||||
'';
|
|
||||||
|
|
||||||
project_config = defaultNullOpts.mkBool false ''
|
|
||||||
Set to true to be able use the `flutter_tools_decorations.project_config` in your
|
|
||||||
statusline.
|
|
||||||
|
|
||||||
This will show the currently selected project configuration.
|
|
||||||
'';
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
debugger = {
|
debugger = {
|
||||||
enabled = defaultNullOpts.mkBool false ''
|
|
||||||
Enable `nvim-dap` integration.
|
|
||||||
'';
|
|
||||||
|
|
||||||
exception_breakpoints = defaultNullOpts.mkListOf types.anything null ''
|
|
||||||
If empty, dap will not stop on any exceptions.
|
|
||||||
Otherwise it will stop on those specified.
|
|
||||||
|
|
||||||
See `|:help dap.set_exception_breakpoints()|` for more information.
|
|
||||||
'';
|
|
||||||
|
|
||||||
evaluate_to_string_in_debug_views = defaultNullOpts.mkBool true ''
|
|
||||||
Whether to call `toString()` on objects in debug views like hovers and the variables list.
|
|
||||||
|
|
||||||
Invoking `toString()` has a performance cost and may introduce side-effects, although users
|
|
||||||
may expect this functionality.
|
|
||||||
'';
|
|
||||||
|
|
||||||
register_configurations = defaultNullOpts.mkRaw' {
|
register_configurations = defaultNullOpts.mkRaw' {
|
||||||
pluginDefault = null;
|
pluginDefault = null;
|
||||||
example = ''
|
example = ''
|
||||||
|
|
@ -77,80 +21,7 @@ in
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
flutter_path = defaultNullOpts.mkStr' {
|
|
||||||
pluginDefault = null;
|
|
||||||
example = "<full/path/if/needed>";
|
|
||||||
description = ''
|
|
||||||
Absolute path to the `flutter` binary.
|
|
||||||
|
|
||||||
This takes priority over the `flutter_lookup_cmd`.
|
|
||||||
'';
|
|
||||||
};
|
|
||||||
|
|
||||||
flutter_lookup_cmd = defaultNullOpts.mkStr' {
|
|
||||||
pluginDefault = literalLua ''
|
|
||||||
function get_default_lookup()
|
|
||||||
local exepath = fn.exepath("flutter")
|
|
||||||
local is_snap_installation = exepath and exepath:match("snap") or false
|
|
||||||
return (path.is_linux and is_snap_installation) and "flutter sdk-path" or nil
|
|
||||||
end
|
|
||||||
'';
|
|
||||||
example = "dirname $(which flutter)";
|
|
||||||
description = ''
|
|
||||||
The command used to find the directory where flutter is installed.
|
|
||||||
'';
|
|
||||||
};
|
|
||||||
|
|
||||||
root_patterns = defaultNullOpts.mkListOf types.str [ ".git" "pubspec.yaml" ] ''
|
|
||||||
Patterns to find the root of your flutter project.
|
|
||||||
'';
|
|
||||||
|
|
||||||
fvm = defaultNullOpts.mkBool false ''
|
|
||||||
Takes priority over path, uses `<workspace>/.fvm/flutter_sdk` if enabled.
|
|
||||||
'';
|
|
||||||
|
|
||||||
widget_guides = {
|
|
||||||
enabled = defaultNullOpts.mkBool false ''
|
|
||||||
Whether to enable widget guides.
|
|
||||||
'';
|
|
||||||
};
|
|
||||||
|
|
||||||
closing_tags = {
|
|
||||||
highlight = defaultNullOpts.mkStr' {
|
|
||||||
example = "ErrorMsg";
|
|
||||||
pluginDefault = "Comment";
|
|
||||||
description = ''
|
|
||||||
Highlight group for the closing tag.
|
|
||||||
'';
|
|
||||||
};
|
|
||||||
|
|
||||||
prefix = defaultNullOpts.mkStr' {
|
|
||||||
pluginDefault = "// ";
|
|
||||||
example = ">";
|
|
||||||
description = ''
|
|
||||||
Character to use for close tag.
|
|
||||||
'';
|
|
||||||
};
|
|
||||||
|
|
||||||
priority = defaultNullOpts.mkUnsignedInt 10 ''
|
|
||||||
Priority of virtual text in current line.
|
|
||||||
|
|
||||||
Consider to configure this when there is a possibility of multiple virtual text items in one
|
|
||||||
line.
|
|
||||||
|
|
||||||
See `priority` option in `|:help nvim_buf_set_extmark|` for more information.
|
|
||||||
'';
|
|
||||||
|
|
||||||
enabled = defaultNullOpts.mkBool true ''
|
|
||||||
Set to `false` to disable closing tags.
|
|
||||||
'';
|
|
||||||
};
|
|
||||||
|
|
||||||
dev_log = {
|
dev_log = {
|
||||||
enabled = defaultNullOpts.mkBool true ''
|
|
||||||
Whether to enable `dev_log`.
|
|
||||||
'';
|
|
||||||
|
|
||||||
filter = defaultNullOpts.mkRaw null ''
|
filter = defaultNullOpts.mkRaw null ''
|
||||||
Optional callback to filter the log.
|
Optional callback to filter the log.
|
||||||
|
|
||||||
|
|
@ -158,120 +29,5 @@ in
|
||||||
|
|
||||||
The `log_line` is only added to the output if the function returns `true`.
|
The `log_line` is only added to the output if the function returns `true`.
|
||||||
'';
|
'';
|
||||||
|
|
||||||
notify_errors = defaultNullOpts.mkBool false ''
|
|
||||||
Whether notify the user when there is an error whilst running.
|
|
||||||
'';
|
|
||||||
|
|
||||||
open_cmd = defaultNullOpts.mkStr' {
|
|
||||||
example = "15split";
|
|
||||||
pluginDefault = literalLua "('botright %dvnew'):format(math.max(vim.o.columns * 0.4, 50))";
|
|
||||||
description = ''
|
|
||||||
Command to use to open the log buffer.
|
|
||||||
'';
|
|
||||||
};
|
|
||||||
|
|
||||||
focus_on_open = defaultNullOpts.mkBool true ''
|
|
||||||
Whether to focus on the newly opened log window.
|
|
||||||
'';
|
|
||||||
};
|
|
||||||
|
|
||||||
dev_tools = {
|
|
||||||
autostart = defaultNullOpts.mkBool false ''
|
|
||||||
Whether to autostart `devtools` server if not detected.
|
|
||||||
'';
|
|
||||||
|
|
||||||
auto_open_browser = defaultNullOpts.mkBool false ''
|
|
||||||
Automatically opens `devtools` in the browser.
|
|
||||||
'';
|
|
||||||
};
|
|
||||||
|
|
||||||
outline = {
|
|
||||||
open_cmd = defaultNullOpts.mkStr' {
|
|
||||||
pluginDefault = literalLua "('botright %dvnew'):format(math.max(vim.o.columns * 0.3, 40))";
|
|
||||||
example = "30vnew";
|
|
||||||
description = ''
|
|
||||||
Command to use to open the outline buffer.
|
|
||||||
'';
|
|
||||||
};
|
|
||||||
|
|
||||||
auto_open = defaultNullOpts.mkBool false ''
|
|
||||||
If `true` this will open the outline automatically when it is first populated.
|
|
||||||
'';
|
|
||||||
};
|
|
||||||
|
|
||||||
lsp = {
|
|
||||||
color = {
|
|
||||||
enabled = defaultNullOpts.mkBool false ''
|
|
||||||
Show the derived colors for dart variables.
|
|
||||||
Set this to `true` to enable color variables highlighting (only supported on
|
|
||||||
flutter >= 2.10).
|
|
||||||
'';
|
|
||||||
|
|
||||||
background = defaultNullOpts.mkBool false ''
|
|
||||||
Whether to highlight the background.
|
|
||||||
'';
|
|
||||||
|
|
||||||
background_color = defaultNullOpts.mkNullable' {
|
|
||||||
type = with types; either str (attrsOf ints.unsigned);
|
|
||||||
pluginDefault = null;
|
|
||||||
example = {
|
|
||||||
r = 19;
|
|
||||||
g = 17;
|
|
||||||
b = 24;
|
|
||||||
};
|
|
||||||
description = ''
|
|
||||||
Background color.
|
|
||||||
Required, when background is transparent.
|
|
||||||
'';
|
|
||||||
};
|
|
||||||
|
|
||||||
foreground = defaultNullOpts.mkBool false ''
|
|
||||||
Whether to highlight the foreground.
|
|
||||||
'';
|
|
||||||
|
|
||||||
virtual_text = defaultNullOpts.mkBool true ''
|
|
||||||
Whether to show the highlight using virtual text.
|
|
||||||
'';
|
|
||||||
|
|
||||||
virtual_text_str = defaultNullOpts.mkStr "■" ''
|
|
||||||
The virtual text character to highlight.
|
|
||||||
'';
|
|
||||||
};
|
|
||||||
|
|
||||||
on_attach = mkNullOrOption types.rawLua ''
|
|
||||||
Provide a custom `on_attach` function.
|
|
||||||
'';
|
|
||||||
|
|
||||||
capabilities = mkNullOrOption' {
|
|
||||||
type = types.rawLua;
|
|
||||||
example = literalLua ''
|
|
||||||
function(config)
|
|
||||||
config.specificThingIDontWant = false
|
|
||||||
return config
|
|
||||||
end
|
|
||||||
'';
|
|
||||||
description = ''
|
|
||||||
Provide a custom value for `capabilities`.
|
|
||||||
Example: `lsp_status` capabilities.
|
|
||||||
'';
|
|
||||||
};
|
|
||||||
|
|
||||||
settings = mkNullOrOption' {
|
|
||||||
type = with types; attrsOf anything;
|
|
||||||
example = {
|
|
||||||
showTodos = true;
|
|
||||||
completeFunctionCalls = true;
|
|
||||||
analysisExcludedFolders = [ "<path-to-flutter-sdk-packages>" ];
|
|
||||||
renameFilesWithClasses = "prompt";
|
|
||||||
enableSnippets = true;
|
|
||||||
updateImportsOnRename = true;
|
|
||||||
};
|
|
||||||
description = ''
|
|
||||||
Settings for the dart language server.
|
|
||||||
See [here](https://github.com/dart-lang/sdk/blob/master/pkg/analysis_server/tool/lsp_spec/README.md#client-workspace-configuration)
|
|
||||||
for details on each option.
|
|
||||||
'';
|
|
||||||
};
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -4,7 +4,7 @@
|
||||||
}:
|
}:
|
||||||
let
|
let
|
||||||
inherit (lib) types;
|
inherit (lib) types;
|
||||||
inherit (lib.nixvim) defaultNullOpts;
|
inherit (lib.nixvim) defaultNullOpts nestedLiteral;
|
||||||
in
|
in
|
||||||
lib.nixvim.plugins.mkVimPlugin {
|
lib.nixvim.plugins.mkVimPlugin {
|
||||||
name = "lazygit";
|
name = "lazygit";
|
||||||
|
|
@ -89,6 +89,6 @@ lib.nixvim.plugins.mkVimPlugin {
|
||||||
floating_window_use_plenary = 0;
|
floating_window_use_plenary = 0;
|
||||||
use_neovim_remote = 1;
|
use_neovim_remote = 1;
|
||||||
use_custom_config_file_path = 0;
|
use_custom_config_file_path = 0;
|
||||||
config_file_path = [ ];
|
config_file_path = nestedLiteral "lib.nixvim.emptyTable";
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -2,38 +2,32 @@
|
||||||
lib,
|
lib,
|
||||||
...
|
...
|
||||||
}:
|
}:
|
||||||
let
|
|
||||||
inherit (lib) types;
|
|
||||||
in
|
|
||||||
lib.nixvim.plugins.mkNeovimPlugin {
|
lib.nixvim.plugins.mkNeovimPlugin {
|
||||||
name = "leap";
|
name = "leap";
|
||||||
package = "leap-nvim";
|
package = "leap-nvim";
|
||||||
|
|
||||||
maintainers = [ lib.maintainers.khaneliman ];
|
maintainers = [ lib.maintainers.khaneliman ];
|
||||||
|
|
||||||
extraOptions = {
|
|
||||||
addDefaultMappings = lib.mkOption {
|
|
||||||
type = types.bool;
|
|
||||||
default = true;
|
|
||||||
description = "Whether to enable the default mappings.";
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
callSetup = false;
|
callSetup = false;
|
||||||
extraConfig = cfg: {
|
extraConfig = cfg: {
|
||||||
plugins.leap.luaConfig.content =
|
plugins.leap.luaConfig.content = lib.optionalString (cfg.settings != { }) ''
|
||||||
lib.optionalString cfg.addDefaultMappings ''
|
require('leap').opts = vim.tbl_deep_extend(
|
||||||
require('leap').add_default_mappings()
|
"keep",
|
||||||
''
|
${lib.nixvim.toLuaObject cfg.settings},
|
||||||
+ lib.optionalString (cfg.settings != { }) ''
|
require('leap').opts
|
||||||
require('leap').opts = vim.tbl_deep_extend(
|
)
|
||||||
"keep",
|
'';
|
||||||
${lib.nixvim.toLuaObject cfg.settings},
|
|
||||||
require('leap').opts
|
|
||||||
)
|
|
||||||
'';
|
|
||||||
};
|
};
|
||||||
|
|
||||||
|
# TODO: Added 2025-11-07. Remove after 26.05
|
||||||
|
imports = [
|
||||||
|
(lib.mkRemovedOptionModule [
|
||||||
|
"plugins"
|
||||||
|
"leap"
|
||||||
|
"addDefaultMappings"
|
||||||
|
] "See `:help leap-mappings` to update your config")
|
||||||
|
];
|
||||||
|
|
||||||
# TODO: Deprecated 2025-10-04
|
# TODO: Deprecated 2025-10-04
|
||||||
inherit (import ./deprecations.nix)
|
inherit (import ./deprecations.nix)
|
||||||
optionsRenamedToSettings
|
optionsRenamedToSettings
|
||||||
|
|
|
||||||
|
|
@ -1,17 +1,14 @@
|
||||||
{
|
{
|
||||||
lib,
|
lib,
|
||||||
helpers,
|
|
||||||
...
|
...
|
||||||
}:
|
}:
|
||||||
with lib;
|
lib.nixvim.plugins.mkVimPlugin {
|
||||||
with lib.nixvim.plugins;
|
|
||||||
mkVimPlugin {
|
|
||||||
name = "ledger";
|
name = "ledger";
|
||||||
package = "vim-ledger";
|
package = "vim-ledger";
|
||||||
globalPrefix = "ledger_";
|
globalPrefix = "ledger_";
|
||||||
description = "Filetype detection, syntax highlighting, auto-formatting, auto-completion, and other tools for working with ledger files.";
|
description = "Filetype detection, syntax highlighting, auto-formatting, auto-completion, and other tools for working with ledger files.";
|
||||||
|
|
||||||
maintainers = [ maintainers.GaetanLepage ];
|
maintainers = [ lib.maintainers.GaetanLepage ];
|
||||||
|
|
||||||
imports = [
|
imports = [
|
||||||
# TODO: added 2025-04-07, remove after 25.05
|
# TODO: added 2025-04-07, remove after 25.05
|
||||||
|
|
@ -23,163 +20,6 @@ mkVimPlugin {
|
||||||
|
|
||||||
dependencies = [ "ledger" ];
|
dependencies = [ "ledger" ];
|
||||||
|
|
||||||
settingsOptions = {
|
|
||||||
bin = helpers.mkNullOrStr ''
|
|
||||||
Path to the `ledger` executable.
|
|
||||||
'';
|
|
||||||
|
|
||||||
is_hledger = helpers.mkNullOrOption types.bool ''
|
|
||||||
Whether to use ledger or hledger specific features.
|
|
||||||
Setting this value is optional and in most coses will be guessed correctly based on `bin`,
|
|
||||||
but in the event it isn't guessed correctly or you want to use different syntax features
|
|
||||||
even with your default tooling setup for the other engine this flag can be set to override
|
|
||||||
the value.
|
|
||||||
'';
|
|
||||||
|
|
||||||
extra_options = helpers.defaultNullOpts.mkStr "" ''
|
|
||||||
Additional default options for the `ledger` executable.
|
|
||||||
'';
|
|
||||||
|
|
||||||
accounts_cmd = helpers.mkNullOrStr ''
|
|
||||||
To use a custom external system command to generate a list of account names for completion,
|
|
||||||
set the following.
|
|
||||||
If `bin` is set, this will default to running that command with arguments to parse the
|
|
||||||
current file using the accounts subcommand (works with ledger or hledger), otherwise it will
|
|
||||||
parse the postings in the current file itself.
|
|
||||||
'';
|
|
||||||
|
|
||||||
descriptions_cmd = helpers.mkNullOrStr ''
|
|
||||||
To use a custom external system command to generate a list of descriptions for completion,
|
|
||||||
set the following.
|
|
||||||
If `bin` is set, this will default to running that command with arguments to parse the
|
|
||||||
current file using the descriptions subcommand (works with ledger or hledger), otherwise it
|
|
||||||
will parse the transactions in the current file itself.
|
|
||||||
'';
|
|
||||||
|
|
||||||
maxwidth = helpers.defaultNullOpts.mkUnsignedInt 0 ''
|
|
||||||
Number of columns that will be used to display the foldtext.
|
|
||||||
Set this when you think that the amount is too far off to the right.
|
|
||||||
When `maxwidth` is zero, the amount will be displayed at the far right side of the screen.
|
|
||||||
'';
|
|
||||||
|
|
||||||
fillstring = helpers.defaultNullOpts.mkStr " " ''
|
|
||||||
String that will be used to fill the space between account name and amount in the foldtext.
|
|
||||||
Set this to get some kind of lines or visual aid.
|
|
||||||
'';
|
|
||||||
|
|
||||||
detailed_first = helpers.defaultNullOpts.mkFlagInt 1 ''
|
|
||||||
If you want the account completion to be sorted by level of detail/depth instead of
|
|
||||||
alphabetical, set this option to `1`.
|
|
||||||
'';
|
|
||||||
|
|
||||||
fold_blanks = helpers.defaultNullOpts.mkFlagInt 0 ''
|
|
||||||
By default vim will fold ledger transactions, leaving surrounding blank lines unfolded.
|
|
||||||
You can use this option to hide blank lines following a transaction.
|
|
||||||
|
|
||||||
A value of `0` will disable folding of blank lines, `1` will allow folding of a
|
|
||||||
single blank line between transactions; any larger value will enable folding
|
|
||||||
unconditionally.
|
|
||||||
|
|
||||||
Note that only lines containing no trailing spaces are considered for folding.
|
|
||||||
You can take advantage of this to disable this feature on a case-by-case basis.
|
|
||||||
'';
|
|
||||||
|
|
||||||
decimal_sep = helpers.defaultNullOpts.mkStr "." ''
|
|
||||||
Decimal separator.
|
|
||||||
'';
|
|
||||||
|
|
||||||
align_last = helpers.defaultNullOpts.mkFlagInt 0 ''
|
|
||||||
Specify alignment on first or last matching separator.
|
|
||||||
'';
|
|
||||||
|
|
||||||
align_at = helpers.defaultNullOpts.mkUnsignedInt 60 ''
|
|
||||||
Specify at which column decimal separators should be aligned.
|
|
||||||
'';
|
|
||||||
|
|
||||||
default_commodity = helpers.defaultNullOpts.mkStr "" ''
|
|
||||||
Default commodity used by `ledger#align_amount_at_cursor()`.
|
|
||||||
'';
|
|
||||||
|
|
||||||
align_commodity = helpers.defaultNullOpts.mkFlagInt 0 ''
|
|
||||||
Align on the commodity location instead of the amount
|
|
||||||
'';
|
|
||||||
|
|
||||||
commodity_before = helpers.defaultNullOpts.mkFlagInt 1 ''
|
|
||||||
Flag that tells whether the commodity should be prepended or appended to the amount.
|
|
||||||
'';
|
|
||||||
|
|
||||||
commodity_sep = helpers.defaultNullOpts.mkStr "" ''
|
|
||||||
String to be put between the commodity and the amount:
|
|
||||||
'';
|
|
||||||
|
|
||||||
commodity_spell = helpers.defaultNullOpts.mkFlagInt 0 ''
|
|
||||||
Flag that enable the spelling of the amount.
|
|
||||||
'';
|
|
||||||
|
|
||||||
date_format = helpers.defaultNullOpts.mkStr "%Y/%m/%d" ''
|
|
||||||
Format of transaction date.
|
|
||||||
'';
|
|
||||||
|
|
||||||
main = helpers.defaultNullOpts.mkStr "%" ''
|
|
||||||
The file to be used to generate reports.
|
|
||||||
The default is to use the current file.
|
|
||||||
'';
|
|
||||||
|
|
||||||
winpos = helpers.defaultNullOpts.mkStr "B" ''
|
|
||||||
Position of a report buffer.
|
|
||||||
|
|
||||||
Use `b` for bottom, `t` for top, `l` for left, `r` for right.
|
|
||||||
Use uppercase letters if you want the window to always occupy the full width or height.
|
|
||||||
'';
|
|
||||||
|
|
||||||
qf_register_format = helpers.mkNullOrStr ''
|
|
||||||
Format of quickfix register reports (see `|:Register|`).
|
|
||||||
The format is specified using the standard Ledger syntax for `--format`.
|
|
||||||
'';
|
|
||||||
|
|
||||||
qf_reconcile_format = helpers.mkNullOrStr ''
|
|
||||||
Format of the reconcile quickfix window (see `|:Reconcile|`).
|
|
||||||
The format is specified using the standard Ledger syntax for `--format`.
|
|
||||||
'';
|
|
||||||
|
|
||||||
use_location_list = helpers.defaultNullOpts.mkFlagInt 0 ''
|
|
||||||
Flag that tells whether a location list or a quickfix list should be used:
|
|
||||||
The default is to use the quickfix window.
|
|
||||||
Set to `1` to use a location list.
|
|
||||||
'';
|
|
||||||
|
|
||||||
qf_vertical = helpers.defaultNullOpts.mkFlagInt 0 ''
|
|
||||||
Position of the quickfix/location list.
|
|
||||||
Set to `1` to open the quickfix window in a vertical split.
|
|
||||||
'';
|
|
||||||
|
|
||||||
qf_size = helpers.defaultNullOpts.mkUnsignedInt 10 ''
|
|
||||||
Size of the quickfix window.
|
|
||||||
|
|
||||||
This is the number of lines of a horizontal quickfix window, or the number of columns of a
|
|
||||||
vertical quickfix window.
|
|
||||||
'';
|
|
||||||
|
|
||||||
qf_hide_file = helpers.defaultNullOpts.mkFlagInt 1 ''
|
|
||||||
Flag to show or hide filenames in the quickfix window:
|
|
||||||
|
|
||||||
Filenames in the quickfix window are hidden by default. Set this to 1 is
|
|
||||||
you want filenames to be visible.
|
|
||||||
'';
|
|
||||||
|
|
||||||
cleared_string = helpers.defaultNullOpts.mkStr "Cleared: " ''
|
|
||||||
Text of the output of the `|:Balance|` command.
|
|
||||||
'';
|
|
||||||
|
|
||||||
pending_string = helpers.defaultNullOpts.mkStr "Cleared or pending: " ''
|
|
||||||
Text of the output of the `|:Balance|` command.
|
|
||||||
'';
|
|
||||||
|
|
||||||
target_string = helpers.defaultNullOpts.mkStr "Difference from target: " ''
|
|
||||||
Text of the output of the `|:Balance|` command.
|
|
||||||
'';
|
|
||||||
};
|
|
||||||
|
|
||||||
settingsExample = {
|
settingsExample = {
|
||||||
detailed_first = 1;
|
detailed_first = 1;
|
||||||
fold_blanks = 0;
|
fold_blanks = 0;
|
||||||
|
|
|
||||||
|
|
@ -23,7 +23,8 @@ lib.nixvim.plugins.mkNeovimPlugin {
|
||||||
cmp = {
|
cmp = {
|
||||||
enable = lib.mkOption {
|
enable = lib.mkOption {
|
||||||
type = types.bool;
|
type = types.bool;
|
||||||
default = true;
|
default = config.plugins.cmp.enable;
|
||||||
|
defaultText = lib.literalExpression "config.plugins.cmp.enable";
|
||||||
description = "Integrate with nvim-cmp";
|
description = "Integrate with nvim-cmp";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,164 +1,15 @@
|
||||||
{
|
{
|
||||||
lib,
|
lib,
|
||||||
helpers,
|
|
||||||
...
|
...
|
||||||
}:
|
}:
|
||||||
with lib;
|
|
||||||
lib.nixvim.plugins.mkNeovimPlugin {
|
lib.nixvim.plugins.mkNeovimPlugin {
|
||||||
name = "neocord";
|
name = "neocord";
|
||||||
description = "Discord Rich Presence for Neovim (Fork of presence.nvim).";
|
description = "Discord Rich Presence for Neovim (Fork of presence.nvim).";
|
||||||
|
|
||||||
maintainers = [ ];
|
maintainers = [ ];
|
||||||
|
|
||||||
settingsOptions = {
|
|
||||||
# General options.
|
|
||||||
auto_update = helpers.defaultNullOpts.mkBool true ''
|
|
||||||
Update activity based on autocmd events.
|
|
||||||
If `false`, map or manually execute
|
|
||||||
`:lua package.loaded.neocord:update()`
|
|
||||||
'';
|
|
||||||
|
|
||||||
logo = helpers.defaultNullOpts.mkStr "auto" ''
|
|
||||||
Update the Logo to the specified option ("auto" or url).
|
|
||||||
'';
|
|
||||||
|
|
||||||
logo_tooltip = helpers.mkNullOrStr ''
|
|
||||||
Sets the logo tooltip
|
|
||||||
'';
|
|
||||||
|
|
||||||
main_image =
|
|
||||||
helpers.defaultNullOpts.mkEnumFirstDefault
|
|
||||||
[
|
|
||||||
"language"
|
|
||||||
"logo"
|
|
||||||
]
|
|
||||||
''
|
|
||||||
Main image display (either "language" or "logo")
|
|
||||||
'';
|
|
||||||
|
|
||||||
client_id = helpers.defaultNullOpts.mkStr "1157438221865717891" ''
|
|
||||||
Use your own Discord application client id. (not recommended)
|
|
||||||
'';
|
|
||||||
|
|
||||||
log_level =
|
|
||||||
helpers.defaultNullOpts.mkEnum
|
|
||||||
[
|
|
||||||
"debug"
|
|
||||||
"info"
|
|
||||||
"warn"
|
|
||||||
"error"
|
|
||||||
]
|
|
||||||
null
|
|
||||||
''
|
|
||||||
Log messages at or above this level.
|
|
||||||
'';
|
|
||||||
|
|
||||||
debounce_timeout = helpers.defaultNullOpts.mkInt 10 ''
|
|
||||||
Number of seconds to debounce events.
|
|
||||||
(or calls to `:lua package.loaded.neocord:update(<filename>, true)`)
|
|
||||||
'';
|
|
||||||
|
|
||||||
enable_line_number = helpers.defaultNullOpts.mkBool false ''
|
|
||||||
Displays the current line number instead of the current project.
|
|
||||||
'';
|
|
||||||
|
|
||||||
blacklist = helpers.defaultNullOpts.mkListOf types.str [ ] ''
|
|
||||||
A list of strings or Lua patterns that disable Rich Presence if the
|
|
||||||
current file name, path, or workspace matches.
|
|
||||||
'';
|
|
||||||
|
|
||||||
buttons =
|
|
||||||
helpers.defaultNullOpts.mkListOf
|
|
||||||
(
|
|
||||||
with types;
|
|
||||||
submodule {
|
|
||||||
options = {
|
|
||||||
label = helpers.mkNullOrStr "";
|
|
||||||
url = helpers.mkNullOrStr "";
|
|
||||||
};
|
|
||||||
}
|
|
||||||
)
|
|
||||||
[ ]
|
|
||||||
''
|
|
||||||
Button configurations which will always appear in Rich Presence.
|
|
||||||
Can be a list of attribute sets, each with the following attributes:
|
|
||||||
`label`: The label of the button. e.g. `"GitHub Profile"`.
|
|
||||||
`url`: The URL the button leads to. e.g. `"https://github.com/<NAME>"`.
|
|
||||||
Can also be a lua function: `function(buffer: string, repo_url: string|nil): table`
|
|
||||||
'';
|
|
||||||
|
|
||||||
file_assets = helpers.mkNullOrOption (with types; attrsOf (listOf str)) ''
|
|
||||||
Custom file asset definitions keyed by file names and extensions.
|
|
||||||
List elements for each attribute (filetype):
|
|
||||||
`name`: The name of the asset shown as the title of the file in Discord.
|
|
||||||
`source`: The source of the asset, either an art asset key or the URL of an image asset.
|
|
||||||
Example:
|
|
||||||
```nix
|
|
||||||
{
|
|
||||||
# Use art assets uploaded in Discord application for the configured client id
|
|
||||||
js = [ "JavaScript" "javascript" ];
|
|
||||||
ts = [ "TypeScript" "typescript" ];
|
|
||||||
# Use image URLs
|
|
||||||
rs = [ "Rust" "https://www.rust-lang.org/logos/rust-logo-512x512.png" ];
|
|
||||||
go = [ "Go" "https://go.dev/blog/go-brand/Go-Logo/PNG/Go-Logo_Aqua.png" ];
|
|
||||||
};
|
|
||||||
```
|
|
||||||
'';
|
|
||||||
|
|
||||||
show_time = helpers.defaultNullOpts.mkBool true "Show the timer.";
|
|
||||||
|
|
||||||
global_timer = helpers.defaultNullOpts.mkBool false "if set true, timer won't update when any event are triggered.";
|
|
||||||
|
|
||||||
# Rich presence text options.
|
|
||||||
editing_text = helpers.defaultNullOpts.mkStr "Editing %s" ''
|
|
||||||
String rendered when an editable file is loaded in the buffer.
|
|
||||||
Can also be a lua function:
|
|
||||||
`function(filename: string): string`
|
|
||||||
'';
|
|
||||||
|
|
||||||
file_explorer_text = helpers.defaultNullOpts.mkStr "Browsing %s" ''
|
|
||||||
String rendered when browsing a file explorer.
|
|
||||||
Can also be a lua function:
|
|
||||||
`function(file_explorer_name: string): string`
|
|
||||||
'';
|
|
||||||
|
|
||||||
git_commit_text = helpers.defaultNullOpts.mkStr "Committing changes" ''
|
|
||||||
String rendered when committing changes in git.
|
|
||||||
Can also be a lua function:
|
|
||||||
`function(filename: string): string`
|
|
||||||
'';
|
|
||||||
|
|
||||||
plugin_manager_text = helpers.defaultNullOpts.mkStr "Managing plugins" ''
|
|
||||||
String rendered when managing plugins.
|
|
||||||
Can also be a lua function:
|
|
||||||
`function(plugin_manager_name: string): string`
|
|
||||||
'';
|
|
||||||
|
|
||||||
reading_text = helpers.defaultNullOpts.mkStr "Reading %s" ''
|
|
||||||
String rendered when a read-only/unmodifiable file is loaded into the buffer.
|
|
||||||
Can also be a lua function:
|
|
||||||
`function(filename: string): string`
|
|
||||||
'';
|
|
||||||
|
|
||||||
workspace_text = helpers.defaultNullOpts.mkStr "Working on %s" ''
|
|
||||||
String rendered when in a git repository.
|
|
||||||
Can also be a lua function:
|
|
||||||
`function(project_name: string|nil, filename: string): string`
|
|
||||||
'';
|
|
||||||
|
|
||||||
line_number_text = helpers.defaultNullOpts.mkStr "Line %s out of %s" ''
|
|
||||||
String rendered when `enableLineNumber` is set to `true` to display the current line number.
|
|
||||||
Can also be a lua function:
|
|
||||||
`function(line_number: number, line_count: number): string`
|
|
||||||
'';
|
|
||||||
|
|
||||||
terminal_text = helpers.defaultNullOpts.mkStr "Using Terminal" ''
|
|
||||||
Format string rendered when in terminal mode.
|
|
||||||
'';
|
|
||||||
};
|
|
||||||
|
|
||||||
settingsExample = {
|
settingsExample = {
|
||||||
#General options
|
# General options
|
||||||
auto_update = true;
|
auto_update = true;
|
||||||
logo = "auto";
|
logo = "auto";
|
||||||
logo_tooltip = null;
|
logo_tooltip = null;
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
{ lib, ... }:
|
{ lib, ... }:
|
||||||
lib.nixvim.plugins.mkNeovimPlugin {
|
lib.nixvim.plugins.mkNeovimPlugin {
|
||||||
name = "ethersync";
|
name = "teamtype";
|
||||||
|
|
||||||
maintainers = [ lib.maintainers.GaetanLepage ];
|
maintainers = [ lib.maintainers.GaetanLepage ];
|
||||||
|
|
||||||
|
|
@ -41,6 +41,8 @@ let
|
||||||
surround = "vim-surround";
|
surround = "vim-surround";
|
||||||
# Added 2025-10-06
|
# Added 2025-10-06
|
||||||
presence-nvim = "presence";
|
presence-nvim = "presence";
|
||||||
|
# Added 2025-11-07
|
||||||
|
ethersync = "teamtype";
|
||||||
};
|
};
|
||||||
# Added 2024-09-21; remove after 24.11
|
# Added 2024-09-21; remove after 24.11
|
||||||
# `iconsPackage` options were briefly available in the following plugins for ~3 weeks
|
# `iconsPackage` options were briefly available in the following plugins for ~3 weeks
|
||||||
|
|
|
||||||
|
|
@ -18,7 +18,6 @@
|
||||||
"bright_script"
|
"bright_script"
|
||||||
"bsl_ls"
|
"bsl_ls"
|
||||||
"buddy_ls"
|
"buddy_ls"
|
||||||
"bufls"
|
|
||||||
"bzl"
|
"bzl"
|
||||||
"c3_lsp"
|
"c3_lsp"
|
||||||
"cairo_ls"
|
"cairo_ls"
|
||||||
|
|
@ -326,7 +325,7 @@
|
||||||
"phan"
|
"phan"
|
||||||
];
|
];
|
||||||
phpactor = "phpactor";
|
phpactor = "phpactor";
|
||||||
postgres_lsp = "postgres-lsp";
|
postgres_lsp = "postgres-language-server";
|
||||||
protols = "protols";
|
protols = "protols";
|
||||||
psalm = [
|
psalm = [
|
||||||
"phpPackages"
|
"phpPackages"
|
||||||
|
|
|
||||||
|
|
@ -15,6 +15,10 @@ let
|
||||||
disabledTests = [
|
disabledTests = [
|
||||||
# 2025-10-12 dependency mbedtls is marked as insecure
|
# 2025-10-12 dependency mbedtls is marked as insecure
|
||||||
"haxe"
|
"haxe"
|
||||||
|
|
||||||
|
# 2025-11-06 build failure
|
||||||
|
# Fixed in https://github.com/NixOS/nixpkgs/pull/458418
|
||||||
|
"docker-language-server"
|
||||||
]
|
]
|
||||||
++ lib.optionals (hostPlatform.isLinux && hostPlatform.isAarch64) [
|
++ lib.optionals (hostPlatform.isLinux && hostPlatform.isAarch64) [
|
||||||
# "tabnine"
|
# "tabnine"
|
||||||
|
|
|
||||||
|
|
@ -40,10 +40,13 @@ let
|
||||||
# TODO: 2025-07-25 build failure
|
# TODO: 2025-07-25 build failure
|
||||||
"mint"
|
"mint"
|
||||||
|
|
||||||
|
# TODO: 2025-11-06 build failure
|
||||||
|
# Fixed in https://github.com/NixOS/nixpkgs/pull/458418
|
||||||
|
"docker_language_server"
|
||||||
|
|
||||||
# DEPRECATED SERVERS
|
# DEPRECATED SERVERS
|
||||||
# See https://github.com/neovim/nvim-lspconfig/blob/master/lua/lspconfig.lua
|
# See https://github.com/neovim/nvim-lspconfig/blob/master/lua/lspconfig.lua
|
||||||
"ruff_lsp"
|
"ruff_lsp"
|
||||||
"bufls"
|
|
||||||
"typst_lsp"
|
"typst_lsp"
|
||||||
];
|
];
|
||||||
in
|
in
|
||||||
|
|
|
||||||
|
|
@ -16,7 +16,7 @@
|
||||||
diff = {
|
diff = {
|
||||||
ctxlen = 3;
|
ctxlen = 3;
|
||||||
};
|
};
|
||||||
highlight_command = [ ];
|
highlight_command.__empty = { };
|
||||||
backend = [
|
backend = [
|
||||||
"telescope"
|
"telescope"
|
||||||
"minipick"
|
"minipick"
|
||||||
|
|
@ -35,7 +35,7 @@
|
||||||
'';
|
'';
|
||||||
nui = {
|
nui = {
|
||||||
dir = "col";
|
dir = "col";
|
||||||
keymap = null;
|
keymap.__raw = "nil";
|
||||||
layout = {
|
layout = {
|
||||||
position = "50%";
|
position = "50%";
|
||||||
size = {
|
size = {
|
||||||
|
|
|
||||||
|
|
@ -20,16 +20,16 @@
|
||||||
40
|
40
|
||||||
0.2
|
0.2
|
||||||
];
|
];
|
||||||
width = null;
|
width.__raw = "nil";
|
||||||
min_width = 10;
|
min_width = 10;
|
||||||
win_opts = { };
|
win_opts.__empty = { };
|
||||||
default_direction = "prefer_right";
|
default_direction = "prefer_right";
|
||||||
placement = "window";
|
placement = "window";
|
||||||
resize_to_content = true;
|
resize_to_content = true;
|
||||||
preserve_equality = false;
|
preserve_equality = false;
|
||||||
};
|
};
|
||||||
attach_mode = "window";
|
attach_mode = "window";
|
||||||
close_automatic_events = [ ];
|
close_automatic_events.__empty = { };
|
||||||
keymaps = {
|
keymaps = {
|
||||||
"?" = "actions.show_help";
|
"?" = "actions.show_help";
|
||||||
"g?" = "actions.show_help";
|
"g?" = "actions.show_help";
|
||||||
|
|
@ -82,11 +82,11 @@
|
||||||
highlight_on_hover = false;
|
highlight_on_hover = false;
|
||||||
highlight_on_jump = 300;
|
highlight_on_jump = 300;
|
||||||
autojump = false;
|
autojump = false;
|
||||||
icons = [ ];
|
icons.__empty = { };
|
||||||
ignore = {
|
ignore = {
|
||||||
unlisted_buffers = false;
|
unlisted_buffers = false;
|
||||||
diff_windows = true;
|
diff_windows = true;
|
||||||
filetypes = [ ];
|
filetypes.__empty = { };
|
||||||
buftypes = "special";
|
buftypes = "special";
|
||||||
wintypes = "special";
|
wintypes = "special";
|
||||||
};
|
};
|
||||||
|
|
@ -126,7 +126,7 @@
|
||||||
border = "rounded";
|
border = "rounded";
|
||||||
relative = "cursor";
|
relative = "cursor";
|
||||||
max_height = 0.9;
|
max_height = 0.9;
|
||||||
height = null;
|
height.__raw = "nil";
|
||||||
min_height = [
|
min_height = [
|
||||||
8
|
8
|
||||||
0.1
|
0.1
|
||||||
|
|
@ -171,7 +171,7 @@
|
||||||
diagnostics_trigger_update = false;
|
diagnostics_trigger_update = false;
|
||||||
update_when_errors = true;
|
update_when_errors = true;
|
||||||
update_delay = 300;
|
update_delay = 300;
|
||||||
priority = { };
|
priority.__empty = { };
|
||||||
};
|
};
|
||||||
treesitter = {
|
treesitter = {
|
||||||
update_delay = 300;
|
update_delay = 300;
|
||||||
|
|
|
||||||
|
|
@ -29,7 +29,7 @@
|
||||||
default_bindings = false;
|
default_bindings = false;
|
||||||
debug = true;
|
debug = true;
|
||||||
vim = true;
|
vim = true;
|
||||||
ignore_buffers = [ ];
|
ignore_buffers.__empty = { };
|
||||||
border = {
|
border = {
|
||||||
style = [
|
style = [
|
||||||
"╭"
|
"╭"
|
||||||
|
|
|
||||||
|
|
@ -26,7 +26,7 @@
|
||||||
inactive_collapse = 1;
|
inactive_collapse = 1;
|
||||||
inactive_alt_sep = 1;
|
inactive_alt_sep = 1;
|
||||||
theme = "dark";
|
theme = "dark";
|
||||||
theme_patch_func = null;
|
theme_patch_func.__raw = "nil";
|
||||||
powerline_fonts = 0;
|
powerline_fonts = 0;
|
||||||
symbols_ascii = 0;
|
symbols_ascii = 0;
|
||||||
mode_map = {
|
mode_map = {
|
||||||
|
|
@ -47,8 +47,8 @@
|
||||||
v = "V";
|
v = "V";
|
||||||
V = "V";
|
V = "V";
|
||||||
};
|
};
|
||||||
exclude_filenames = [ ];
|
exclude_filenames.__empty = { };
|
||||||
exclude_filetypes = [ ];
|
exclude_filetypes.__empty = { };
|
||||||
filetype_overrides = {
|
filetype_overrides = {
|
||||||
coc-explorer = [
|
coc-explorer = [
|
||||||
"CoC Explorer"
|
"CoC Explorer"
|
||||||
|
|
|
||||||
|
|
@ -1,22 +1,25 @@
|
||||||
|
{ lib, ... }:
|
||||||
{
|
{
|
||||||
theme = {
|
theme = {
|
||||||
plugins.alpha = {
|
plugins.alpha = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
|
||||||
theme = "dashboard";
|
theme = "dashboard";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
theme-lua = {
|
theme-raw-settings = {
|
||||||
plugins.alpha = {
|
plugins.alpha = {
|
||||||
enable = true;
|
enable = true;
|
||||||
theme.__raw = "require'alpha.themes.startify'.config";
|
|
||||||
|
settings = lib.nixvim.mkRaw "require('alpha.themes.dashboard').config";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
terminal = {
|
terminal = {
|
||||||
plugins.alpha = {
|
plugins.alpha = {
|
||||||
enable = true;
|
enable = true;
|
||||||
layout = [
|
settings.layout = [
|
||||||
{
|
{
|
||||||
type = "terminal";
|
type = "terminal";
|
||||||
command = "echo 'Welcome to Nixvim!'";
|
command = "echo 'Welcome to Nixvim!'";
|
||||||
|
|
@ -34,7 +37,7 @@
|
||||||
plugins.alpha = {
|
plugins.alpha = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
|
||||||
layout = [
|
settings.layout = [
|
||||||
{
|
{
|
||||||
type = "padding";
|
type = "padding";
|
||||||
val = 2;
|
val = 2;
|
||||||
|
|
@ -88,7 +91,7 @@
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
opts = {
|
settings.opts = {
|
||||||
margin = 0;
|
margin = 0;
|
||||||
noautocmd = true;
|
noautocmd = true;
|
||||||
|
|
||||||
|
|
@ -104,7 +107,7 @@
|
||||||
plugins.web-devicons.enable = false;
|
plugins.web-devicons.enable = false;
|
||||||
plugins.alpha = {
|
plugins.alpha = {
|
||||||
enable = true;
|
enable = true;
|
||||||
theme = "dashboard";
|
settings = lib.nixvim.mkRaw "require('alpha.themes.dashboard').config";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -42,7 +42,7 @@
|
||||||
];
|
];
|
||||||
cancel_deferred_save = [ "InsertEnter" ];
|
cancel_deferred_save = [ "InsertEnter" ];
|
||||||
};
|
};
|
||||||
condition = null;
|
condition.__raw = "nil";
|
||||||
write_all_buffers = false;
|
write_all_buffers = false;
|
||||||
noautocmd = false;
|
noautocmd = false;
|
||||||
lockmarks = false;
|
lockmarks = false;
|
||||||
|
|
|
||||||
|
|
@ -13,12 +13,12 @@
|
||||||
auto_save = true;
|
auto_save = true;
|
||||||
auto_restore = true;
|
auto_restore = true;
|
||||||
auto_create = true;
|
auto_create = true;
|
||||||
suppressed_dirs = null;
|
suppressed_dirs.__raw = "nil";
|
||||||
allowed_dirs = null;
|
allowed_dirs.__raw = "nil";
|
||||||
auto_restore_last_session = false;
|
auto_restore_last_session = false;
|
||||||
use_git_branch = false;
|
use_git_branch = false;
|
||||||
lazy_support = true;
|
lazy_support = true;
|
||||||
bypass_save_filetypes = null;
|
bypass_save_filetypes.__raw = "nil";
|
||||||
close_unsupported_windows = true;
|
close_unsupported_windows = true;
|
||||||
args_allow_single_directory = true;
|
args_allow_single_directory = true;
|
||||||
args_allow_files_auto_save = false;
|
args_allow_files_auto_save = false;
|
||||||
|
|
@ -27,7 +27,7 @@
|
||||||
log_level = "error";
|
log_level = "error";
|
||||||
session_lens = {
|
session_lens = {
|
||||||
load_on_setup = true;
|
load_on_setup = true;
|
||||||
theme_conf = { };
|
theme_conf.__empty = { };
|
||||||
previewer = false;
|
previewer = false;
|
||||||
mappings = {
|
mappings = {
|
||||||
delete_session = {
|
delete_session = {
|
||||||
|
|
|
||||||
|
|
@ -28,7 +28,7 @@
|
||||||
copilot = {
|
copilot = {
|
||||||
endpoint = "https://api.githubcopilot.com";
|
endpoint = "https://api.githubcopilot.com";
|
||||||
model = "gpt-4o-2024-05-13";
|
model = "gpt-4o-2024-05-13";
|
||||||
proxy = null;
|
proxy.__raw = "nil";
|
||||||
allow_insecure = false;
|
allow_insecure = false;
|
||||||
timeout = 30000;
|
timeout = 30000;
|
||||||
extra_request_body = {
|
extra_request_body = {
|
||||||
|
|
|
||||||
|
|
@ -30,8 +30,8 @@
|
||||||
animation = true;
|
animation = true;
|
||||||
auto_hide = -1;
|
auto_hide = -1;
|
||||||
clickable = true;
|
clickable = true;
|
||||||
exclude_ft = [ ];
|
exclude_ft.__empty = { };
|
||||||
exclude_name = [ ];
|
exclude_name.__empty = { };
|
||||||
focus_on_close = "left";
|
focus_on_close = "left";
|
||||||
hide = {
|
hide = {
|
||||||
alternate = false;
|
alternate = false;
|
||||||
|
|
@ -94,10 +94,10 @@
|
||||||
filename = false;
|
filename = false;
|
||||||
separator.right = " ";
|
separator.right = " ";
|
||||||
};
|
};
|
||||||
alternate = { };
|
alternate.__empty = { };
|
||||||
current = { };
|
current.__empty = { };
|
||||||
inactive = { };
|
inactive.__empty = { };
|
||||||
visible = { };
|
visible.__empty = { };
|
||||||
preset = "default";
|
preset = "default";
|
||||||
};
|
};
|
||||||
insert_at_start = false;
|
insert_at_start = false;
|
||||||
|
|
@ -107,9 +107,9 @@
|
||||||
maximum_length = 30;
|
maximum_length = 30;
|
||||||
minimum_length = 0;
|
minimum_length = 0;
|
||||||
minimum_padding = 1;
|
minimum_padding = 1;
|
||||||
no_name_title = null;
|
no_name_title.__raw = "nil";
|
||||||
semantic_letters = true;
|
semantic_letters = true;
|
||||||
sidebar_filetypes = { };
|
sidebar_filetypes.__empty = { };
|
||||||
tabpages = true;
|
tabpages = true;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
@ -219,7 +219,7 @@
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
letters = "asdfjkl;ghnmxcvbziowerutyqpASDFJKLGHNMXCVBZIOWERUTYQP";
|
letters = "asdfjkl;ghnmxcvbziowerutyqpASDFJKLGHNMXCVBZIOWERUTYQP";
|
||||||
no_name_title = null;
|
no_name_title.__raw = "nil";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
|
||||||
|
|
@ -18,8 +18,8 @@
|
||||||
focus_blame = true;
|
focus_blame = true;
|
||||||
merge_consecutive = false;
|
merge_consecutive = false;
|
||||||
max_summary_width = 30;
|
max_summary_width = 30;
|
||||||
colors = null; # won't output literal nil
|
colors.__raw = "nil";
|
||||||
blame_options = null; # won't output literal nil
|
blame_options.__raw = "nil";
|
||||||
format_fn.__raw = "require('blame.formats.default_formats').commit_date_author_fn";
|
format_fn.__raw = "require('blame.formats.default_formats').commit_date_author_fn";
|
||||||
commit_detail_view = "vsplit";
|
commit_detail_view = "vsplit";
|
||||||
mappings = {
|
mappings = {
|
||||||
|
|
|
||||||
|
|
@ -59,9 +59,9 @@
|
||||||
"("
|
"("
|
||||||
")"
|
")"
|
||||||
];
|
];
|
||||||
override_brackets_for_filetypes = { };
|
override_brackets_for_filetypes.__empty = { };
|
||||||
force_allow_filetypes = [ ];
|
force_allow_filetypes.__empty = { };
|
||||||
blocked_filetypes = [ ];
|
blocked_filetypes.__empty = { };
|
||||||
kind_resolution = {
|
kind_resolution = {
|
||||||
enabled = true;
|
enabled = true;
|
||||||
blocked_filetypes = [
|
blocked_filetypes = [
|
||||||
|
|
@ -112,7 +112,7 @@
|
||||||
align_to = "label";
|
align_to = "label";
|
||||||
padding = 1;
|
padding = 1;
|
||||||
gap = 1;
|
gap = 1;
|
||||||
treesitter = { };
|
treesitter.__empty = { };
|
||||||
columns = [
|
columns = [
|
||||||
[ "kind_icon" ]
|
[ "kind_icon" ]
|
||||||
{
|
{
|
||||||
|
|
@ -232,9 +232,9 @@
|
||||||
prebuilt_binaries = {
|
prebuilt_binaries = {
|
||||||
download = true;
|
download = true;
|
||||||
ignore_version_mismatch = false;
|
ignore_version_mismatch = false;
|
||||||
force_version = null;
|
force_version.__raw = "nil";
|
||||||
force_system_triple = null;
|
force_system_triple.__raw = "nil";
|
||||||
extra_curl_args = [ ];
|
extra_curl_args.__empty = { };
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
sources = {
|
sources = {
|
||||||
|
|
@ -244,7 +244,7 @@
|
||||||
"snippets"
|
"snippets"
|
||||||
"buffer"
|
"buffer"
|
||||||
];
|
];
|
||||||
per_filetype = { };
|
per_filetype.__empty = { };
|
||||||
cmdline.__raw = ''
|
cmdline.__raw = ''
|
||||||
function()
|
function()
|
||||||
local type = vim.fn.getcmdtype()
|
local type = vim.fn.getcmdtype()
|
||||||
|
|
@ -310,8 +310,8 @@
|
||||||
enabled = false;
|
enabled = false;
|
||||||
trigger = {
|
trigger = {
|
||||||
enabled = true;
|
enabled = true;
|
||||||
blocked_trigger_characters = [ ];
|
blocked_trigger_characters.__empty = { };
|
||||||
blocked_retrigger_characters = [ ];
|
blocked_retrigger_characters.__empty = { };
|
||||||
show_on_insert_on_trigger_character = true;
|
show_on_insert_on_trigger_character = true;
|
||||||
};
|
};
|
||||||
window = {
|
window = {
|
||||||
|
|
@ -387,6 +387,8 @@
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
# FIXME: This should be __empty but this config is out of date so it throws
|
||||||
cmdline = [ ];
|
cmdline = [ ];
|
||||||
};
|
};
|
||||||
completion = {
|
completion = {
|
||||||
|
|
|
||||||
|
|
@ -74,7 +74,7 @@
|
||||||
close_command = "bdelete! %d";
|
close_command = "bdelete! %d";
|
||||||
left_mouse_command = "buffer %d";
|
left_mouse_command = "buffer %d";
|
||||||
right_mouse_command = "bdelete! %d";
|
right_mouse_command = "bdelete! %d";
|
||||||
middle_mouse_command = null;
|
middle_mouse_command.__raw = "nil";
|
||||||
indicator = {
|
indicator = {
|
||||||
icon = "▎";
|
icon = "▎";
|
||||||
style = "icon";
|
style = "icon";
|
||||||
|
|
@ -82,14 +82,14 @@
|
||||||
left_trunc_marker = "";
|
left_trunc_marker = "";
|
||||||
right_trunc_marker = "";
|
right_trunc_marker = "";
|
||||||
separator_style = "thin";
|
separator_style = "thin";
|
||||||
name_formatter = null;
|
name_formatter.__raw = "nil";
|
||||||
truncate_names = true;
|
truncate_names = true;
|
||||||
tab_size = 18;
|
tab_size = 18;
|
||||||
max_name_length = 18;
|
max_name_length = 18;
|
||||||
color_icons = true;
|
color_icons = true;
|
||||||
show_buffer_icons = true;
|
show_buffer_icons = true;
|
||||||
show_buffer_close_icons = true;
|
show_buffer_close_icons = true;
|
||||||
get_element_icon = null;
|
get_element_icon.__raw = "nil";
|
||||||
show_close_icon = true;
|
show_close_icon = true;
|
||||||
show_tab_indicators = true;
|
show_tab_indicators = true;
|
||||||
show_duplicate_prefix = true;
|
show_duplicate_prefix = true;
|
||||||
|
|
@ -102,27 +102,27 @@
|
||||||
max_prefix_length = 15;
|
max_prefix_length = 15;
|
||||||
sort_by = "id";
|
sort_by = "id";
|
||||||
diagnostics = false;
|
diagnostics = false;
|
||||||
diagnostics_indicator = null;
|
diagnostics_indicator.__raw = "nil";
|
||||||
diagnostics_update_in_insert = true;
|
diagnostics_update_in_insert = true;
|
||||||
diagnostics_update_on_event = true;
|
diagnostics_update_on_event = true;
|
||||||
offsets = null;
|
offsets.__raw = "nil";
|
||||||
groups = {
|
groups = {
|
||||||
items = [ ];
|
items.__empty = { };
|
||||||
options = {
|
options = {
|
||||||
toggle_hidden_on_enter = true;
|
toggle_hidden_on_enter = true;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
hover = {
|
hover = {
|
||||||
enabled = false;
|
enabled = false;
|
||||||
reveal = [ ];
|
reveal.__empty = { };
|
||||||
delay = 200;
|
delay = 200;
|
||||||
};
|
};
|
||||||
debug = {
|
debug = {
|
||||||
logging = false;
|
logging = false;
|
||||||
};
|
};
|
||||||
custom_filter = null;
|
custom_filter.__raw = "nil";
|
||||||
};
|
};
|
||||||
highlights = { };
|
highlights.__empty = { };
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
|
||||||
|
|
@ -33,8 +33,8 @@
|
||||||
lsp = true;
|
lsp = true;
|
||||||
highlighter = {
|
highlighter = {
|
||||||
auto_enable = false;
|
auto_enable = false;
|
||||||
filetypes = [ ];
|
filetypes.__empty = { };
|
||||||
excludes = [ ];
|
excludes.__empty = { };
|
||||||
lsp = true;
|
lsp = true;
|
||||||
update_insert = true;
|
update_insert = true;
|
||||||
};
|
};
|
||||||
|
|
|
||||||
|
|
@ -52,8 +52,8 @@
|
||||||
"thumbs.db"
|
"thumbs.db"
|
||||||
".git"
|
".git"
|
||||||
];
|
];
|
||||||
name_glob = [ ];
|
name_glob.__empty = { };
|
||||||
path_glob = [ ];
|
path_glob.__empty = { };
|
||||||
};
|
};
|
||||||
view = {
|
view = {
|
||||||
open_direction = "left";
|
open_direction = "left";
|
||||||
|
|
|
||||||
|
|
@ -11,9 +11,9 @@
|
||||||
enable = true;
|
enable = true;
|
||||||
|
|
||||||
settings = {
|
settings = {
|
||||||
api_key_cmd = null;
|
api_key_cmd.__raw = "nil";
|
||||||
yank_register = "+";
|
yank_register = "+";
|
||||||
extra_curl_params = [ ];
|
extra_curl_params.__empty = { };
|
||||||
show_line_numbers = true;
|
show_line_numbers = true;
|
||||||
edit_with_instructions = {
|
edit_with_instructions = {
|
||||||
diff = false;
|
diff = false;
|
||||||
|
|
@ -182,7 +182,7 @@
|
||||||
n = 1;
|
n = 1;
|
||||||
};
|
};
|
||||||
use_openai_functions_for_edits = false;
|
use_openai_functions_for_edits = false;
|
||||||
actions_paths = [ ];
|
actions_paths.__empty = { };
|
||||||
show_quickfixes_cmd = "Trouble quickfix";
|
show_quickfixes_cmd = "Trouble quickfix";
|
||||||
predefined_chat_gpt_prompts = "https://raw.githubusercontent.com/f/awesome-chatgpt-prompts/main/prompts.csv";
|
predefined_chat_gpt_prompts = "https://raw.githubusercontent.com/f/awesome-chatgpt-prompts/main/prompts.csv";
|
||||||
highlights = {
|
highlights = {
|
||||||
|
|
|
||||||
|
|
@ -11,14 +11,14 @@
|
||||||
enabled = true;
|
enabled = true;
|
||||||
cloak_character = "*";
|
cloak_character = "*";
|
||||||
highlight_group = "Comment";
|
highlight_group = "Comment";
|
||||||
cloak_length = null;
|
cloak_length.__raw = "nil";
|
||||||
try_all_patterns = true;
|
try_all_patterns = true;
|
||||||
cloak_telescope = true;
|
cloak_telescope = true;
|
||||||
patterns = [
|
patterns = [
|
||||||
{
|
{
|
||||||
file_pattern = ".env*";
|
file_pattern = ".env*";
|
||||||
cloak_pattern = "=.+";
|
cloak_pattern = "=.+";
|
||||||
replace = null;
|
replace.__raw = "nil";
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
|
||||||
|
|
@ -14,11 +14,11 @@
|
||||||
cmake_generate_options = {
|
cmake_generate_options = {
|
||||||
"-DCMAKE_EXPORT_COMPILE_COMMANDS" = 1;
|
"-DCMAKE_EXPORT_COMPILE_COMMANDS" = 1;
|
||||||
};
|
};
|
||||||
cmake_build_options = { };
|
cmake_build_options.__empty = { };
|
||||||
cmake_build_directory = "out/\${variant:buildType}";
|
cmake_build_directory = "out/\${variant:buildType}";
|
||||||
cmake_soft_link_compile_commands = true;
|
cmake_soft_link_compile_commands = true;
|
||||||
cmake_compile_commands_from_lsp = false;
|
cmake_compile_commands_from_lsp = false;
|
||||||
cmake_kits_path = null;
|
cmake_kits_path.__raw = "nil";
|
||||||
|
|
||||||
cmake_variants_message = {
|
cmake_variants_message = {
|
||||||
short = {
|
short = {
|
||||||
|
|
@ -41,7 +41,7 @@
|
||||||
|
|
||||||
cmake_executor = {
|
cmake_executor = {
|
||||||
name = "quickfix";
|
name = "quickfix";
|
||||||
opts = { };
|
opts.__empty = { };
|
||||||
default_opts = {
|
default_opts = {
|
||||||
quickfix = {
|
quickfix = {
|
||||||
show = "always";
|
show = "always";
|
||||||
|
|
@ -84,7 +84,7 @@
|
||||||
|
|
||||||
cmake_runner = {
|
cmake_runner = {
|
||||||
name = "terminal";
|
name = "terminal";
|
||||||
opts = { };
|
opts.__empty = { };
|
||||||
default_opts = {
|
default_opts = {
|
||||||
quickfix = {
|
quickfix = {
|
||||||
show = "always";
|
show = "always";
|
||||||
|
|
|
||||||
|
|
@ -18,7 +18,7 @@
|
||||||
sort = true;
|
sort = true;
|
||||||
run_on_every_keystroke = true;
|
run_on_every_keystroke = true;
|
||||||
snippet_placeholder = "..";
|
snippet_placeholder = "..";
|
||||||
ignored_file_types = { };
|
ignored_file_types.__empty = { };
|
||||||
min_percent = 0;
|
min_percent = 0;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
|
||||||
|
|
@ -21,7 +21,7 @@
|
||||||
};
|
};
|
||||||
opts = {
|
opts = {
|
||||||
allow_insecure = false;
|
allow_insecure = false;
|
||||||
proxy = null;
|
proxy.__raw = "nil";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
strategies = {
|
strategies = {
|
||||||
|
|
|
||||||
|
|
@ -8,14 +8,14 @@
|
||||||
enable = true;
|
enable = true;
|
||||||
|
|
||||||
settings = {
|
settings = {
|
||||||
save_path = null;
|
save_path.__raw = "nil";
|
||||||
mac_window_bar = true;
|
mac_window_bar = true;
|
||||||
title = "CodeSnap.nvim";
|
title = "CodeSnap.nvim";
|
||||||
code_font_family = "CaskaydiaCove Nerd Font";
|
code_font_family = "CaskaydiaCove Nerd Font";
|
||||||
watermark_font_family = "Pacifico";
|
watermark_font_family = "Pacifico";
|
||||||
watermark = "CodeSnap.nvim";
|
watermark = "CodeSnap.nvim";
|
||||||
bg_theme = "default";
|
bg_theme = "default";
|
||||||
bg_color = null;
|
bg_color.__raw = "nil";
|
||||||
breadcrumbs_separator = "/";
|
breadcrumbs_separator = "/";
|
||||||
has_breadcrumbs = false;
|
has_breadcrumbs = false;
|
||||||
has_line_number = false;
|
has_line_number = false;
|
||||||
|
|
|
||||||
|
|
@ -8,7 +8,7 @@
|
||||||
enable = true;
|
enable = true;
|
||||||
|
|
||||||
settings = {
|
settings = {
|
||||||
filetypes = { };
|
filetypes.__empty = { };
|
||||||
user_default_options = {
|
user_default_options = {
|
||||||
RGB = true;
|
RGB = true;
|
||||||
RRGGBB = true;
|
RRGGBB = true;
|
||||||
|
|
@ -30,7 +30,7 @@
|
||||||
virtualtext_mode = "foreground";
|
virtualtext_mode = "foreground";
|
||||||
always_update = false;
|
always_update = false;
|
||||||
};
|
};
|
||||||
buftypes = { };
|
buftypes.__empty = { };
|
||||||
user_commands = true;
|
user_commands = true;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
|
||||||
|
|
@ -10,7 +10,7 @@
|
||||||
settings = {
|
settings = {
|
||||||
padding = true;
|
padding = true;
|
||||||
sticky = true;
|
sticky = true;
|
||||||
ignore = null;
|
ignore.__raw = "nil";
|
||||||
toggler = {
|
toggler = {
|
||||||
line = "gcc";
|
line = "gcc";
|
||||||
block = "gbc";
|
block = "gbc";
|
||||||
|
|
@ -28,8 +28,8 @@
|
||||||
basic = true;
|
basic = true;
|
||||||
extra = true;
|
extra = true;
|
||||||
};
|
};
|
||||||
pre_hook = null;
|
pre_hook.__raw = "nil";
|
||||||
post_hook = null;
|
post_hook.__raw = "nil";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
|
||||||
|
|
@ -24,7 +24,7 @@
|
||||||
enable = true;
|
enable = true;
|
||||||
|
|
||||||
settings = {
|
settings = {
|
||||||
formatters_by_ft = { };
|
formatters_by_ft.__empty = { };
|
||||||
format_on_save = {
|
format_on_save = {
|
||||||
lsp_format = "never";
|
lsp_format = "never";
|
||||||
timeout_ms = 1000;
|
timeout_ms = 1000;
|
||||||
|
|
@ -46,7 +46,7 @@
|
||||||
log_level = "error";
|
log_level = "error";
|
||||||
notify_on_error = true;
|
notify_on_error = true;
|
||||||
notify_no_formatters = true;
|
notify_no_formatters = true;
|
||||||
formatters = { };
|
formatters.__empty = { };
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
|
||||||
|
|
@ -13,12 +13,12 @@
|
||||||
system_prompt = "require('CopilotChat.config.prompts').COPILOT_INSTRUCTIONS";
|
system_prompt = "require('CopilotChat.config.prompts').COPILOT_INSTRUCTIONS";
|
||||||
model = "gpt-4-o";
|
model = "gpt-4-o";
|
||||||
agent = "none";
|
agent = "none";
|
||||||
context = null;
|
context.__raw = "nil";
|
||||||
sticky = null;
|
sticky.__raw = "nil";
|
||||||
|
|
||||||
temperature = 0.1;
|
temperature = 0.1;
|
||||||
headless = false;
|
headless = false;
|
||||||
callback = null;
|
callback.__raw = "nil";
|
||||||
|
|
||||||
selection.__raw = ''
|
selection.__raw = ''
|
||||||
function(source)
|
function(source)
|
||||||
|
|
@ -33,10 +33,10 @@
|
||||||
height = 0.5;
|
height = 0.5;
|
||||||
relative = "editor";
|
relative = "editor";
|
||||||
border = "single";
|
border = "single";
|
||||||
row = null;
|
row.__raw = "nil";
|
||||||
col = null;
|
col.__raw = "nil";
|
||||||
title = "Copilot Chat";
|
title = "Copilot Chat";
|
||||||
footer = null;
|
footer.__raw = "nil";
|
||||||
zindex = 1;
|
zindex = 1;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
@ -50,7 +50,7 @@
|
||||||
|
|
||||||
debug = false;
|
debug = false;
|
||||||
log_level = "info";
|
log_level = "info";
|
||||||
proxy = null;
|
proxy.__raw = "nil";
|
||||||
allow_insecure = false;
|
allow_insecure = false;
|
||||||
|
|
||||||
chat_autocomplete = true;
|
chat_autocomplete = true;
|
||||||
|
|
|
||||||
|
|
@ -17,7 +17,7 @@
|
||||||
editor = {
|
editor = {
|
||||||
client = "neovim";
|
client = "neovim";
|
||||||
tooltip = "The Superior Text Editor";
|
tooltip = "The Superior Text Editor";
|
||||||
icon = null;
|
icon.__raw = "nil";
|
||||||
};
|
};
|
||||||
display = {
|
display = {
|
||||||
theme = "default";
|
theme = "default";
|
||||||
|
|
@ -38,12 +38,12 @@
|
||||||
unidle_on_focus = true;
|
unidle_on_focus = true;
|
||||||
smart_idle = true;
|
smart_idle = true;
|
||||||
details = "Idling";
|
details = "Idling";
|
||||||
state = null;
|
state.__raw = "nil";
|
||||||
tooltip = "💤";
|
tooltip = "💤";
|
||||||
icon = null;
|
icon.__raw = "nil";
|
||||||
};
|
};
|
||||||
text = {
|
text = {
|
||||||
default = null;
|
default.__raw = "nil";
|
||||||
workspace.__raw = "function(opts) return 'In ' .. opts.workspace end";
|
workspace.__raw = "function(opts) return 'In ' .. opts.workspace end";
|
||||||
viewing.__raw = "function(opts) return 'Viewing ' .. opts.filename end";
|
viewing.__raw = "function(opts) return 'Viewing ' .. opts.filename end";
|
||||||
editing.__raw = "function(opts) return 'Editing ' .. opts.filename end";
|
editing.__raw = "function(opts) return 'Editing ' .. opts.filename end";
|
||||||
|
|
@ -60,19 +60,19 @@
|
||||||
terminal.__raw = "function(opts) return 'Running commands in ' .. opts.name end";
|
terminal.__raw = "function(opts) return 'Running commands in ' .. opts.name end";
|
||||||
dashboard = "Home";
|
dashboard = "Home";
|
||||||
};
|
};
|
||||||
buttons = null;
|
buttons.__raw = "nil";
|
||||||
assets = null;
|
assets.__raw = "nil";
|
||||||
variables = null;
|
variables.__raw = "nil";
|
||||||
hooks = {
|
hooks = {
|
||||||
ready = null;
|
ready.__raw = "nil";
|
||||||
shutdown = null;
|
shutdown.__raw = "nil";
|
||||||
pre_activity = null;
|
pre_activity.__raw = "nil";
|
||||||
post_activity = null;
|
post_activity.__raw = "nil";
|
||||||
idle_enter = null;
|
idle_enter.__raw = "nil";
|
||||||
idle_leave = null;
|
idle_leave.__raw = "nil";
|
||||||
workspace_change = null;
|
workspace_change.__raw = "nil";
|
||||||
};
|
};
|
||||||
plugins = null;
|
plugins.__raw = "nil";
|
||||||
advanced = {
|
advanced = {
|
||||||
plugin = {
|
plugin = {
|
||||||
autocmds = true;
|
autocmds = true;
|
||||||
|
|
@ -81,8 +81,8 @@
|
||||||
};
|
};
|
||||||
server = {
|
server = {
|
||||||
update = "fetch";
|
update = "fetch";
|
||||||
pipe_path = null;
|
pipe_path.__raw = "nil";
|
||||||
executable_path = null;
|
executable_path.__raw = "nil";
|
||||||
timeout = 300000;
|
timeout = 300000;
|
||||||
};
|
};
|
||||||
discord = {
|
discord = {
|
||||||
|
|
|
||||||
|
|
@ -11,7 +11,7 @@
|
||||||
use_global_binary = 0;
|
use_global_binary = 0;
|
||||||
agda_prefix = "<localleader>";
|
agda_prefix = "<localleader>";
|
||||||
no_agda_input = 0;
|
no_agda_input = 0;
|
||||||
bind_input_hook = null;
|
bind_input_hook.__raw = "nil";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
|
||||||
|
|
@ -87,7 +87,7 @@
|
||||||
coverage_file = "coverage/coverage.json";
|
coverage_file = "coverage/coverage.json";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
lcov_file = null;
|
lcov_file.__raw = "nil";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
|
||||||
|
|
@ -7,8 +7,8 @@
|
||||||
plugins.cutlass-nvim = {
|
plugins.cutlass-nvim = {
|
||||||
enable = true;
|
enable = true;
|
||||||
settings = {
|
settings = {
|
||||||
cut_key = "nil";
|
cut_key.__raw = "nil";
|
||||||
override_del = "nil";
|
override_del.__raw = "nil";
|
||||||
exclude.__empty = { };
|
exclude.__empty = { };
|
||||||
registers = {
|
registers = {
|
||||||
select = "_";
|
select = "_";
|
||||||
|
|
|
||||||
|
|
@ -21,7 +21,7 @@
|
||||||
path = "dlv";
|
path = "dlv";
|
||||||
initialize_timeout_sec = 20;
|
initialize_timeout_sec = 20;
|
||||||
port = "$\{port}";
|
port = "$\{port}";
|
||||||
args = [ ];
|
args.__empty = { };
|
||||||
build_flags = "-tags=unit";
|
build_flags = "-tags=unit";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
|
||||||
|
|
@ -23,7 +23,7 @@
|
||||||
terminate = "";
|
terminate = "";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
element_mappings = { };
|
element_mappings.__empty = { };
|
||||||
expand_lines = true;
|
expand_lines = true;
|
||||||
floating = {
|
floating = {
|
||||||
border = "single";
|
border = "single";
|
||||||
|
|
|
||||||
|
|
@ -101,7 +101,7 @@
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
custom_sections = [ ];
|
custom_sections.__empty = { };
|
||||||
controls = {
|
controls = {
|
||||||
enabled = false;
|
enabled = false;
|
||||||
position = "right";
|
position = "right";
|
||||||
|
|
@ -115,7 +115,7 @@
|
||||||
"terminate"
|
"terminate"
|
||||||
"disconnect"
|
"disconnect"
|
||||||
];
|
];
|
||||||
custom_buttons = [ ];
|
custom_buttons.__empty = { };
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
windows = {
|
windows = {
|
||||||
|
|
@ -124,7 +124,7 @@
|
||||||
terminal = {
|
terminal = {
|
||||||
width = 0.5;
|
width = 0.5;
|
||||||
position = "left";
|
position = "left";
|
||||||
hide = { };
|
hide.__empty = { };
|
||||||
start_hidden = false;
|
start_hidden = false;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
@ -144,7 +144,7 @@
|
||||||
terminate = "";
|
terminate = "";
|
||||||
};
|
};
|
||||||
help = {
|
help = {
|
||||||
border = null;
|
border.__raw = "nil";
|
||||||
};
|
};
|
||||||
switchbuf = "usetab";
|
switchbuf = "usetab";
|
||||||
auto_toggle = false;
|
auto_toggle = false;
|
||||||
|
|
|
||||||
|
|
@ -22,7 +22,7 @@
|
||||||
week_header = {
|
week_header = {
|
||||||
enable = false;
|
enable = false;
|
||||||
concat = "";
|
concat = "";
|
||||||
append = [ ];
|
append.__empty = { };
|
||||||
};
|
};
|
||||||
header = [
|
header = [
|
||||||
""
|
""
|
||||||
|
|
@ -43,7 +43,7 @@
|
||||||
|
|
||||||
preview = {
|
preview = {
|
||||||
command = "";
|
command = "";
|
||||||
file_path = null;
|
file_path.__raw = "nil";
|
||||||
file_height = 0;
|
file_height = 0;
|
||||||
file_width = 0;
|
file_width = 0;
|
||||||
};
|
};
|
||||||
|
|
@ -85,7 +85,7 @@
|
||||||
cwd_only = false;
|
cwd_only = false;
|
||||||
};
|
};
|
||||||
|
|
||||||
footer = [ ];
|
footer.__empty = { };
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
@ -111,7 +111,7 @@
|
||||||
action = "";
|
action = "";
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
footer = [ ];
|
footer.__empty = { };
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
|
||||||
|
|
@ -8,16 +8,16 @@
|
||||||
plugins.dbee = {
|
plugins.dbee = {
|
||||||
enable = true;
|
enable = true;
|
||||||
settings = {
|
settings = {
|
||||||
default_connection = null;
|
default_connection.__raw = "nil";
|
||||||
sources = [
|
sources = [
|
||||||
(lib.nixvim.mkRaw "require('dbee.sources').EnvSource:new('DBEE_CONNECTIONS')")
|
(lib.nixvim.mkRaw "require('dbee.sources').EnvSource:new('DBEE_CONNECTIONS')")
|
||||||
(lib.nixvim.mkRaw "require('dbee.sources').FileSource:new(vim.fn.stdpath('state') .. '/dbee/persistence.json')")
|
(lib.nixvim.mkRaw "require('dbee.sources').FileSource:new(vim.fn.stdpath('state') .. '/dbee/persistence.json')")
|
||||||
];
|
];
|
||||||
extra_helpers = { };
|
extra_helpers.__empty = { };
|
||||||
float_options = { };
|
float_options.__empty = { };
|
||||||
drawer = {
|
drawer = {
|
||||||
window_options = { };
|
window_options.__empty = { };
|
||||||
buffer_options = { };
|
buffer_options.__empty = { };
|
||||||
disable_help = false;
|
disable_help = false;
|
||||||
mappings = [
|
mappings = [
|
||||||
{
|
{
|
||||||
|
|
@ -176,8 +176,8 @@
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
result = {
|
result = {
|
||||||
window_options = { };
|
window_options.__empty = { };
|
||||||
buffer_options = { };
|
buffer_options.__empty = { };
|
||||||
page_size = 100;
|
page_size = 100;
|
||||||
focus_result = true;
|
focus_result = true;
|
||||||
progress = {
|
progress = {
|
||||||
|
|
@ -254,8 +254,8 @@
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
editor = {
|
editor = {
|
||||||
window_options = { };
|
window_options.__empty = { };
|
||||||
buffer_options = { };
|
buffer_options.__empty = { };
|
||||||
mappings = [
|
mappings = [
|
||||||
{
|
{
|
||||||
key = "BB";
|
key = "BB";
|
||||||
|
|
@ -270,8 +270,8 @@
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
call_log = {
|
call_log = {
|
||||||
window_options = { };
|
window_options.__empty = { };
|
||||||
buffer_options = { };
|
buffer_options.__empty = { };
|
||||||
mappings = [
|
mappings = [
|
||||||
{
|
{
|
||||||
key = "<CR>";
|
key = "<CR>";
|
||||||
|
|
|
||||||
|
|
@ -14,7 +14,7 @@
|
||||||
enable = true;
|
enable = true;
|
||||||
|
|
||||||
settings = {
|
settings = {
|
||||||
ensure_installed = [ ];
|
ensure_installed.__empty = { };
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
|
||||||
|
|
@ -16,26 +16,26 @@
|
||||||
settings = {
|
settings = {
|
||||||
renderer_options = {
|
renderer_options = {
|
||||||
mermaid = {
|
mermaid = {
|
||||||
background = null;
|
background.__raw = "nil";
|
||||||
theme = null;
|
theme.__raw = "nil";
|
||||||
scale = 1;
|
scale = 1;
|
||||||
width = null;
|
width.__raw = "nil";
|
||||||
height = null;
|
height.__raw = "nil";
|
||||||
};
|
};
|
||||||
plantuml = {
|
plantuml = {
|
||||||
charset = null;
|
charset.__raw = "nil";
|
||||||
};
|
};
|
||||||
d2 = {
|
d2 = {
|
||||||
theme_id = null;
|
theme_id.__raw = "nil";
|
||||||
dark_theme_id = null;
|
dark_theme_id.__raw = "nil";
|
||||||
scale = null;
|
scale.__raw = "nil";
|
||||||
layout = null;
|
layout.__raw = "nil";
|
||||||
sketch = null;
|
sketch.__raw = "nil";
|
||||||
};
|
};
|
||||||
gnuplot = {
|
gnuplot = {
|
||||||
size = null;
|
size.__raw = "nil";
|
||||||
font = null;
|
font.__raw = "nil";
|
||||||
theme = null;
|
theme.__raw = "nil";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
|
||||||
|
|
@ -50,7 +50,7 @@
|
||||||
win_config = {
|
win_config = {
|
||||||
position = "right";
|
position = "right";
|
||||||
width = 20;
|
width = 20;
|
||||||
win_opts = { };
|
win_opts.__empty = { };
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
file_history_panel = {
|
file_history_panel = {
|
||||||
|
|
@ -63,14 +63,14 @@
|
||||||
multi_file.diff_merges = "first-parent";
|
multi_file.diff_merges = "first-parent";
|
||||||
};
|
};
|
||||||
hg = {
|
hg = {
|
||||||
single_file = { };
|
single_file.__empty = { };
|
||||||
multi_file = { };
|
multi_file.__empty = { };
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
win_config = {
|
win_config = {
|
||||||
position = "top";
|
position = "top";
|
||||||
height = 10;
|
height = 10;
|
||||||
win_opts = { };
|
win_opts.__empty = { };
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -21,8 +21,8 @@
|
||||||
return os_name == 'windows' and 'distant.exe' or 'distant'
|
return os_name == 'windows' and 'distant.exe' or 'distant'
|
||||||
end)()
|
end)()
|
||||||
'';
|
'';
|
||||||
log_file = null;
|
log_file.__raw = "nil";
|
||||||
log_level = null;
|
log_level.__raw = "nil";
|
||||||
};
|
};
|
||||||
keymap = {
|
keymap = {
|
||||||
dir = {
|
dir = {
|
||||||
|
|
@ -63,8 +63,8 @@
|
||||||
manager = {
|
manager = {
|
||||||
daemon = false;
|
daemon = false;
|
||||||
lazy = true;
|
lazy = true;
|
||||||
log_file = null;
|
log_file.__raw = "nil";
|
||||||
log_level = null;
|
log_level.__raw = "nil";
|
||||||
user = false;
|
user = false;
|
||||||
};
|
};
|
||||||
network = {
|
network = {
|
||||||
|
|
@ -73,15 +73,15 @@
|
||||||
max = 15000;
|
max = 15000;
|
||||||
interval = 256;
|
interval = 256;
|
||||||
};
|
};
|
||||||
windows_pipe = null;
|
windows_pipe.__raw = "nil";
|
||||||
unix_socket = null;
|
unix_socket.__raw = "nil";
|
||||||
};
|
};
|
||||||
servers = {
|
servers = {
|
||||||
"*" = {
|
"*" = {
|
||||||
connect.default = { };
|
connect.default = { };
|
||||||
cwd = null;
|
cwd.__raw = "nil";
|
||||||
launch.default = { };
|
launch.default = { };
|
||||||
lsp = { };
|
lsp.__empty = { };
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
|
||||||
|
|
@ -18,7 +18,7 @@
|
||||||
border = "rounded";
|
border = "rounded";
|
||||||
relative = "cursor";
|
relative = "cursor";
|
||||||
prefer_width = 40;
|
prefer_width = 40;
|
||||||
width = null;
|
width.__raw = "nil";
|
||||||
max_width = [
|
max_width = [
|
||||||
140
|
140
|
||||||
0.9
|
0.9
|
||||||
|
|
@ -46,7 +46,7 @@
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
override = "function(conf) return conf end";
|
override = "function(conf) return conf end";
|
||||||
get_config = null;
|
get_config.__raw = "nil";
|
||||||
};
|
};
|
||||||
select = {
|
select = {
|
||||||
enabled = true;
|
enabled = true;
|
||||||
|
|
@ -58,15 +58,15 @@
|
||||||
"nui"
|
"nui"
|
||||||
];
|
];
|
||||||
trim_prompt = true;
|
trim_prompt = true;
|
||||||
telescope = null;
|
telescope.__raw = "nil";
|
||||||
fzf.window = {
|
fzf.window = {
|
||||||
width = 0.5;
|
width = 0.5;
|
||||||
height = 0.4;
|
height = 0.4;
|
||||||
};
|
};
|
||||||
fzf_lua = { };
|
fzf_lua.__empty = { };
|
||||||
nui = {
|
nui = {
|
||||||
position = "50%";
|
position = "50%";
|
||||||
size = null;
|
size.__raw = "nil";
|
||||||
relative = "editor";
|
relative = "editor";
|
||||||
border = {
|
border = {
|
||||||
style = "rounded";
|
style = "rounded";
|
||||||
|
|
@ -88,13 +88,13 @@
|
||||||
border = "rounded";
|
border = "rounded";
|
||||||
relative = "editor";
|
relative = "editor";
|
||||||
|
|
||||||
buf_options = { };
|
buf_options.__empty = { };
|
||||||
win_options = {
|
win_options = {
|
||||||
cursorline = true;
|
cursorline = true;
|
||||||
cursorlineopt = "both";
|
cursorlineopt = "both";
|
||||||
};
|
};
|
||||||
|
|
||||||
width = null;
|
width.__raw = "nil";
|
||||||
max_width = [
|
max_width = [
|
||||||
140
|
140
|
||||||
0.8
|
0.8
|
||||||
|
|
@ -103,7 +103,7 @@
|
||||||
40
|
40
|
||||||
0.2
|
0.2
|
||||||
];
|
];
|
||||||
height = null;
|
height.__raw = "nil";
|
||||||
max_height = 0.9;
|
max_height = 0.9;
|
||||||
min_height = [
|
min_height = [
|
||||||
10
|
10
|
||||||
|
|
@ -118,8 +118,8 @@
|
||||||
|
|
||||||
override = "function(conf) return conf end";
|
override = "function(conf) return conf end";
|
||||||
};
|
};
|
||||||
format_item_override = { };
|
format_item_override.__empty = { };
|
||||||
get_config = null;
|
get_config.__raw = "nil";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
|
||||||
|
|
@ -133,7 +133,7 @@
|
||||||
desc = "refresh testrunner";
|
desc = "refresh testrunner";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
additional_args = [ ];
|
additional_args.__empty = { };
|
||||||
};
|
};
|
||||||
csproj_mappings = true;
|
csproj_mappings = true;
|
||||||
fsproj_mappings = true;
|
fsproj_mappings = true;
|
||||||
|
|
|
||||||
|
|
@ -8,26 +8,26 @@
|
||||||
enable = true;
|
enable = true;
|
||||||
|
|
||||||
settings = {
|
settings = {
|
||||||
left = [ ];
|
left.__empty = { };
|
||||||
bottom = [ ];
|
bottom.__empty = { };
|
||||||
right = [ ];
|
right.__empty = { };
|
||||||
top = [ ];
|
top.__empty = { };
|
||||||
options = {
|
options = {
|
||||||
left = {
|
left = {
|
||||||
size = 30;
|
size = 30;
|
||||||
wo = null;
|
wo.__raw = "nil";
|
||||||
};
|
};
|
||||||
bottom = {
|
bottom = {
|
||||||
size = 10;
|
size = 10;
|
||||||
wo = null;
|
wo.__raw = "nil";
|
||||||
};
|
};
|
||||||
right = {
|
right = {
|
||||||
size = 30;
|
size = 30;
|
||||||
wo = null;
|
wo.__raw = "nil";
|
||||||
};
|
};
|
||||||
top = {
|
top = {
|
||||||
size = 10;
|
size = 10;
|
||||||
wo = null;
|
wo.__raw = "nil";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
animate = {
|
animate = {
|
||||||
|
|
|
||||||
|
|
@ -17,11 +17,11 @@
|
||||||
html = {
|
html = {
|
||||||
default_attributes = {
|
default_attributes = {
|
||||||
option = {
|
option = {
|
||||||
value = null;
|
value.__raw = "nil";
|
||||||
};
|
};
|
||||||
textarea = {
|
textarea = {
|
||||||
id = null;
|
id.__raw = "nil";
|
||||||
name = null;
|
name.__raw = "nil";
|
||||||
cols = 10;
|
cols = 10;
|
||||||
rows = 10;
|
rows = 10;
|
||||||
};
|
};
|
||||||
|
|
|
||||||
|
|
@ -1,5 +0,0 @@
|
||||||
{
|
|
||||||
empty = {
|
|
||||||
plugins.ethersync.enable = true;
|
|
||||||
};
|
|
||||||
}
|
|
||||||
|
|
@ -10,8 +10,8 @@
|
||||||
highlight_on_key = false;
|
highlight_on_key = false;
|
||||||
dim = false;
|
dim = false;
|
||||||
max_length = 9999;
|
max_length = 9999;
|
||||||
disabled_filetypes = [ ];
|
disabled_filetypes.__empty = { };
|
||||||
disabled_buftypes = [ ];
|
disabled_buftypes.__empty = { };
|
||||||
default_keymaps = true;
|
default_keymaps = true;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
|
||||||
|
|
@ -22,7 +22,7 @@
|
||||||
];
|
];
|
||||||
filesize = 2;
|
filesize = 2;
|
||||||
pattern = "*";
|
pattern = "*";
|
||||||
extra_patterns = [ ];
|
extra_patterns.__empty = { };
|
||||||
};
|
};
|
||||||
fastmacro = {
|
fastmacro = {
|
||||||
on = true;
|
on = true;
|
||||||
|
|
|
||||||
|
|
@ -20,7 +20,7 @@
|
||||||
return client and client.name or nil
|
return client and client.name or nil
|
||||||
end
|
end
|
||||||
'';
|
'';
|
||||||
ignore = [ ];
|
ignore.__empty = { };
|
||||||
display = {
|
display = {
|
||||||
render_limit = 16;
|
render_limit = 16;
|
||||||
done_ttl = 3;
|
done_ttl = 3;
|
||||||
|
|
|
||||||
|
|
@ -38,8 +38,8 @@
|
||||||
register = false;
|
register = false;
|
||||||
nohlsearch = false;
|
nohlsearch = false;
|
||||||
autojump = false;
|
autojump = false;
|
||||||
inclusive = null;
|
inclusive.__raw = "nil";
|
||||||
offset = null;
|
offset.__raw = "nil";
|
||||||
};
|
};
|
||||||
label = {
|
label = {
|
||||||
uppercase = true;
|
uppercase = true;
|
||||||
|
|
@ -72,10 +72,10 @@
|
||||||
label = "FlashLabel";
|
label = "FlashLabel";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
action = null;
|
action.__raw = "nil";
|
||||||
pattern = "";
|
pattern = "";
|
||||||
continue = false;
|
continue = false;
|
||||||
config = null;
|
config.__raw = "nil";
|
||||||
prompt = {
|
prompt = {
|
||||||
enabled = true;
|
enabled = true;
|
||||||
prefix = [
|
prefix = [
|
||||||
|
|
|
||||||
|
|
@ -16,7 +16,7 @@
|
||||||
labeled_modes = "v";
|
labeled_modes = "v";
|
||||||
clever_repeat = true;
|
clever_repeat = true;
|
||||||
multiline = true;
|
multiline = true;
|
||||||
opts = { };
|
opts.__empty = { };
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
|
||||||
|
|
@ -8,7 +8,7 @@
|
||||||
enable = true;
|
enable = true;
|
||||||
|
|
||||||
settings = {
|
settings = {
|
||||||
shell = null;
|
shell.__raw = "nil";
|
||||||
title = "floaterm: $1/$2";
|
title = "floaterm: $1/$2";
|
||||||
wintype = "float";
|
wintype = "float";
|
||||||
width = 0.6;
|
width = 0.6;
|
||||||
|
|
|
||||||
|
|
@ -20,11 +20,11 @@
|
||||||
};
|
};
|
||||||
debugger = {
|
debugger = {
|
||||||
enabled = false;
|
enabled = false;
|
||||||
exception_breakpoints = null;
|
exception_breakpoints.__raw = "nil";
|
||||||
evaluate_to_string_in_debug_views = true;
|
evaluate_to_string_in_debug_views = true;
|
||||||
register_configurations = null;
|
register_configurations.__raw = "nil";
|
||||||
};
|
};
|
||||||
flutter_path = null;
|
flutter_path.__raw = "nil";
|
||||||
flutter_lookup_cmd.__raw = ''
|
flutter_lookup_cmd.__raw = ''
|
||||||
(function()
|
(function()
|
||||||
local exepath = vim.fn.exepath("flutter")
|
local exepath = vim.fn.exepath("flutter")
|
||||||
|
|
@ -48,7 +48,7 @@
|
||||||
};
|
};
|
||||||
dev_log = {
|
dev_log = {
|
||||||
enabled = true;
|
enabled = true;
|
||||||
filter = null;
|
filter.__raw = "nil";
|
||||||
notify_errors = false;
|
notify_errors = false;
|
||||||
open_cmd.__raw = "('botright %dvnew'):format(math.max(vim.o.columns * 0.4, 50))";
|
open_cmd.__raw = "('botright %dvnew'):format(math.max(vim.o.columns * 0.4, 50))";
|
||||||
focus_on_open = true;
|
focus_on_open = true;
|
||||||
|
|
@ -65,14 +65,14 @@
|
||||||
color = {
|
color = {
|
||||||
enabled = false;
|
enabled = false;
|
||||||
background = false;
|
background = false;
|
||||||
background_color = null;
|
background_color.__raw = "nil";
|
||||||
foreground = false;
|
foreground = false;
|
||||||
virtual_text = true;
|
virtual_text = true;
|
||||||
virtual_text_str = "■";
|
virtual_text_str = "■";
|
||||||
};
|
};
|
||||||
on_attach = null;
|
on_attach.__raw = "nil";
|
||||||
capabilities = null;
|
capabilities.__raw = "nil";
|
||||||
settings = null;
|
settings.__raw = "nil";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
|
||||||
|
|
@ -14,13 +14,13 @@
|
||||||
content_width = 60;
|
content_width = 60;
|
||||||
height = "60%";
|
height = "60%";
|
||||||
show_patch = false;
|
show_patch = false;
|
||||||
libgit2_path = null;
|
libgit2_path.__raw = "nil";
|
||||||
gpgme_path = "gpgme";
|
gpgme_path = "gpgme";
|
||||||
external_diffview = false;
|
external_diffview = false;
|
||||||
blame_priority = 1;
|
blame_priority = 1;
|
||||||
blame_info_width = 60;
|
blame_info_width = 60;
|
||||||
blame_info_height = 10;
|
blame_info_height = 10;
|
||||||
colorscheme = null;
|
colorscheme.__raw = "nil";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
|
||||||
|
|
@ -15,7 +15,7 @@
|
||||||
highlights = {
|
highlights = {
|
||||||
incoming = "DiffAdd";
|
incoming = "DiffAdd";
|
||||||
current = "DiffText";
|
current = "DiffText";
|
||||||
ancestor = null;
|
ancestor.__raw = "nil";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
|
||||||
|
|
@ -13,11 +13,11 @@
|
||||||
date_format = "%c";
|
date_format = "%c";
|
||||||
message_when_not_committed = " Not Committed Yet";
|
message_when_not_committed = " Not Committed Yet";
|
||||||
highlight_group = "Comment";
|
highlight_group = "Comment";
|
||||||
set_extmark_options = { };
|
set_extmark_options.__empty = { };
|
||||||
display_virtual_text = true;
|
display_virtual_text = true;
|
||||||
ignored_filetypes = [ ];
|
ignored_filetypes.__empty = { };
|
||||||
delay = 250;
|
delay = 250;
|
||||||
virtual_text_column = null;
|
virtual_text_column.__raw = "nil";
|
||||||
use_blame_commit_file_urls = false;
|
use_blame_commit_file_urls = false;
|
||||||
schedule_event = "CursorMoved";
|
schedule_event = "CursorMoved";
|
||||||
clear_event = "CursorMovedI";
|
clear_event = "CursorMovedI";
|
||||||
|
|
|
||||||
|
|
@ -56,7 +56,7 @@
|
||||||
};
|
};
|
||||||
telemetry = {
|
telemetry = {
|
||||||
enabled = true;
|
enabled = true;
|
||||||
trackingUrl = null;
|
trackingUrl.__raw = "nil";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
|
||||||
|
|
@ -30,7 +30,7 @@
|
||||||
|
|
||||||
settings = {
|
settings = {
|
||||||
opts = {
|
opts = {
|
||||||
remote = null;
|
remote.__raw = "nil";
|
||||||
add_current_line_on_normal_mode = true;
|
add_current_line_on_normal_mode = true;
|
||||||
action_callback = lib.nixvim.mkRaw "require('gitlinker.actions').copy_to_clipboard";
|
action_callback = lib.nixvim.mkRaw "require('gitlinker.actions').copy_to_clipboard";
|
||||||
print_url = true;
|
print_url = true;
|
||||||
|
|
|
||||||
|
|
@ -16,11 +16,11 @@
|
||||||
always_into_popup = false;
|
always_into_popup = false;
|
||||||
extra_blame_args = "";
|
extra_blame_args = "";
|
||||||
preview_mods = "";
|
preview_mods = "";
|
||||||
max_popup_height = null;
|
max_popup_height.__raw = "nil";
|
||||||
max_popup_width = null;
|
max_popup_width.__raw = "nil";
|
||||||
date_format = "%c";
|
date_format = "%c";
|
||||||
conceal_word_diff_marker = true;
|
conceal_word_diff_marker = true;
|
||||||
floating_win_opts = { };
|
floating_win_opts.__empty = { };
|
||||||
popup_content_margins = true;
|
popup_content_margins = true;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
|
||||||
|
|
@ -45,13 +45,13 @@
|
||||||
internal = false;
|
internal = false;
|
||||||
indent_heuristic = false;
|
indent_heuristic = false;
|
||||||
vertical = true;
|
vertical = true;
|
||||||
linematch = null;
|
linematch.__raw = "nil";
|
||||||
ignore_blank_lines = true;
|
ignore_blank_lines = true;
|
||||||
ignore_whitespace_change = true;
|
ignore_whitespace_change = true;
|
||||||
ignore_whitespace = true;
|
ignore_whitespace = true;
|
||||||
ignore_whitespace_change_at_eol = true;
|
ignore_whitespace_change_at_eol = true;
|
||||||
};
|
};
|
||||||
base = null;
|
base.__raw = "nil";
|
||||||
count_chars = {
|
count_chars = {
|
||||||
"__unkeyed_1" = "1";
|
"__unkeyed_1" = "1";
|
||||||
"__unkeyed_2" = "2";
|
"__unkeyed_2" = "2";
|
||||||
|
|
|
||||||
|
|
@ -65,7 +65,7 @@
|
||||||
"<leader>l".__raw = ''require('glance').actions.enter_win("list")'';
|
"<leader>l".__raw = ''require('glance').actions.enter_win("list")'';
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
hooks = { };
|
hooks.__empty = { };
|
||||||
folds = {
|
folds = {
|
||||||
fold_closed = "";
|
fold_closed = "";
|
||||||
fold_open = "";
|
fold_open = "";
|
||||||
|
|
|
||||||
|
|
@ -22,13 +22,13 @@
|
||||||
];
|
];
|
||||||
default_mappings = false;
|
default_mappings = false;
|
||||||
debug = false;
|
debug = false;
|
||||||
opacity = null;
|
opacity.__raw = "nil";
|
||||||
resizing_mappings = false;
|
resizing_mappings = false;
|
||||||
post_open_hook = null;
|
post_open_hook.__raw = "nil";
|
||||||
post_close_hook = null;
|
post_close_hook.__raw = "nil";
|
||||||
references = {
|
references = {
|
||||||
provider = "telescope";
|
provider = "telescope";
|
||||||
telescope = null;
|
telescope.__raw = "nil";
|
||||||
};
|
};
|
||||||
focus_on_open = true;
|
focus_on_open = true;
|
||||||
dismiss_on_move = false;
|
dismiss_on_move = false;
|
||||||
|
|
|
||||||
|
|
@ -10,9 +10,9 @@
|
||||||
disableNetrwGx = true;
|
disableNetrwGx = true;
|
||||||
|
|
||||||
settings = {
|
settings = {
|
||||||
open_browser_app = null;
|
open_browser_app.__raw = "nil";
|
||||||
open_browser_args = [ ];
|
open_browser_args.__empty = { };
|
||||||
handlers = { };
|
handlers.__empty = { };
|
||||||
handler_options = {
|
handler_options = {
|
||||||
search_engine = "google";
|
search_engine = "google";
|
||||||
select_for_search = false;
|
select_for_search = false;
|
||||||
|
|
|
||||||
|
|
@ -8,16 +8,16 @@
|
||||||
enable = true;
|
enable = true;
|
||||||
|
|
||||||
settings = {
|
settings = {
|
||||||
buf_ignore = null;
|
buf_ignore.__raw = "nil";
|
||||||
mode = [
|
mode = [
|
||||||
"n"
|
"n"
|
||||||
"c"
|
"c"
|
||||||
];
|
];
|
||||||
hybrid_modes = null;
|
hybrid_modes.__raw = "nil";
|
||||||
callback = {
|
callback = {
|
||||||
on_enable = null;
|
on_enable.__raw = "nil";
|
||||||
on_disable = null;
|
on_disable.__raw = "nil";
|
||||||
on_mode_change = null;
|
on_mode_change.__raw = "nil";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
|
||||||
|
|
@ -18,13 +18,13 @@
|
||||||
enable_short_hex = true;
|
enable_short_hex = true;
|
||||||
enable_tailwind = false;
|
enable_tailwind = false;
|
||||||
enable_ansi = false;
|
enable_ansi = false;
|
||||||
custom_colors = null;
|
custom_colors.__raw = "nil";
|
||||||
virtual_symbol = "■";
|
virtual_symbol = "■";
|
||||||
virtual_symbol_prefix = "";
|
virtual_symbol_prefix = "";
|
||||||
virtual_symbol_suffix = " ";
|
virtual_symbol_suffix = " ";
|
||||||
virtual_symbol_position = "inline";
|
virtual_symbol_position = "inline";
|
||||||
exclude_filetypes = { };
|
exclude_filetypes.__empty = { };
|
||||||
exclude_buftypes = { };
|
exclude_buftypes.__empty = { };
|
||||||
exclude_buffer.__raw = "function(bufnr) end";
|
exclude_buffer.__raw = "function(bufnr) end";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
|
||||||
|
|
@ -12,7 +12,7 @@
|
||||||
let
|
let
|
||||||
modDefaultConfig = {
|
modDefaultConfig = {
|
||||||
enable = false;
|
enable = false;
|
||||||
style = { };
|
style.__empty = { };
|
||||||
notify = false;
|
notify = false;
|
||||||
priority = 0;
|
priority = 0;
|
||||||
exclude_filetypes = {
|
exclude_filetypes = {
|
||||||
|
|
|
||||||
|
|
@ -98,17 +98,17 @@
|
||||||
case_insensitive = true;
|
case_insensitive = true;
|
||||||
create_hl_autocmd = true;
|
create_hl_autocmd = true;
|
||||||
dim_unmatched = true;
|
dim_unmatched = true;
|
||||||
direction = null;
|
direction.__raw = "nil";
|
||||||
hint_position = "require'hop.hint'.HintPosition.BEGIN";
|
hint_position = "require'hop.hint'.HintPosition.BEGIN";
|
||||||
hint_type = "require'hop.hint'.HintType.OVERLAY";
|
hint_type = "require'hop.hint'.HintType.OVERLAY";
|
||||||
hint_offset = 0;
|
hint_offset = 0;
|
||||||
current_line_only = false;
|
current_line_only = false;
|
||||||
uppercase_labels = false;
|
uppercase_labels = false;
|
||||||
yank_register = "";
|
yank_register = "";
|
||||||
extensions = null;
|
extensions.__raw = "nil";
|
||||||
multi_windows = false;
|
multi_windows = false;
|
||||||
excluded_filetypes = [ ];
|
excluded_filetypes.__empty = { };
|
||||||
match_mappings = [ ];
|
match_mappings.__empty = { };
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
|
||||||
|
|
@ -10,14 +10,14 @@
|
||||||
settings = {
|
settings = {
|
||||||
debug = false;
|
debug = false;
|
||||||
exit = false;
|
exit = false;
|
||||||
foreign_keys = null;
|
foreign_keys.__raw = "nil";
|
||||||
color = "red";
|
color = "red";
|
||||||
buffer = null;
|
buffer.__raw = "nil";
|
||||||
invoke_on_body = false;
|
invoke_on_body = false;
|
||||||
desc = null;
|
desc.__raw = "nil";
|
||||||
on_enter = null;
|
on_enter.__raw = "nil";
|
||||||
on_exit = null;
|
on_exit.__raw = "nil";
|
||||||
on_key = null;
|
on_key.__raw = "nil";
|
||||||
timeout = false;
|
timeout = false;
|
||||||
hint = {
|
hint = {
|
||||||
show_name = true;
|
show_name = true;
|
||||||
|
|
@ -42,7 +42,7 @@
|
||||||
color = "red";
|
color = "red";
|
||||||
buffer = true;
|
buffer = true;
|
||||||
invoke_on_body = false;
|
invoke_on_body = false;
|
||||||
desc = null;
|
desc.__raw = "nil";
|
||||||
on_enter = ''
|
on_enter = ''
|
||||||
function()
|
function()
|
||||||
print('hello')
|
print('hello')
|
||||||
|
|
|
||||||
|
|
@ -14,20 +14,20 @@
|
||||||
"regex"
|
"regex"
|
||||||
];
|
];
|
||||||
delay = 100;
|
delay = 100;
|
||||||
filetype_overrides = { };
|
filetype_overrides.__empty = { };
|
||||||
filetypes_denylist = [
|
filetypes_denylist = [
|
||||||
"dirbuf"
|
"dirbuf"
|
||||||
"dirvish"
|
"dirvish"
|
||||||
"fugitive"
|
"fugitive"
|
||||||
];
|
];
|
||||||
filetypes_allowlist = [ ];
|
filetypes_allowlist.__empty = { };
|
||||||
modes_denylist = [ ];
|
modes_denylist.__empty = { };
|
||||||
modes_allowlist = [ ];
|
modes_allowlist.__empty = { };
|
||||||
providers_regex_syntax_denylist = [ ];
|
providers_regex_syntax_denylist.__empty = { };
|
||||||
providers_regex_syntax_allowlist = [ ];
|
providers_regex_syntax_allowlist.__empty = { };
|
||||||
under_cursor = true;
|
under_cursor = true;
|
||||||
large_file_cutoff = 10000;
|
large_file_cutoff = 10000;
|
||||||
large_file_overrides = null;
|
large_file_overrides.__raw = "nil";
|
||||||
min_count_to_highlight = 1;
|
min_count_to_highlight = 1;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
|
||||||
|
|
@ -26,8 +26,8 @@
|
||||||
html.enabled = false;
|
html.enabled = false;
|
||||||
css.enabled = false;
|
css.enabled = false;
|
||||||
};
|
};
|
||||||
max_width = null;
|
max_width.__raw = "nil";
|
||||||
max_height = null;
|
max_height.__raw = "nil";
|
||||||
max_width_window_percentage = 100;
|
max_width_window_percentage = 100;
|
||||||
max_height_window_percentage = 50;
|
max_height_window_percentage = 50;
|
||||||
scale_factor = 1.0;
|
scale_factor = 1.0;
|
||||||
|
|
|
||||||
|
|
@ -13,8 +13,8 @@
|
||||||
preview_empty_name = false;
|
preview_empty_name = false;
|
||||||
show_message = true;
|
show_message = true;
|
||||||
save_in_cmdline_history = true;
|
save_in_cmdline_history = true;
|
||||||
input_buffer_type = null;
|
input_buffer_type.__raw = "nil";
|
||||||
post_hook = null;
|
post_hook.__raw = "nil";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
|
||||||
|
|
@ -48,29 +48,29 @@
|
||||||
};
|
};
|
||||||
indent = {
|
indent = {
|
||||||
char = "▎";
|
char = "▎";
|
||||||
tab_char = null;
|
tab_char.__raw = "nil";
|
||||||
highlight = null;
|
highlight.__raw = "nil";
|
||||||
smart_indent_cap = true;
|
smart_indent_cap = true;
|
||||||
priority = 1;
|
priority = 1;
|
||||||
};
|
};
|
||||||
whitespace = {
|
whitespace = {
|
||||||
highlight = null;
|
highlight.__raw = "nil";
|
||||||
remove_blankline_trail = true;
|
remove_blankline_trail = true;
|
||||||
};
|
};
|
||||||
scope = {
|
scope = {
|
||||||
enabled = true;
|
enabled = true;
|
||||||
char = null;
|
char.__raw = "nil";
|
||||||
show_start = true;
|
show_start = true;
|
||||||
show_end = true;
|
show_end = true;
|
||||||
show_exact_scope = false;
|
show_exact_scope = false;
|
||||||
injected_languages = true;
|
injected_languages = true;
|
||||||
highlight = null;
|
highlight.__raw = "nil";
|
||||||
priority = 1024;
|
priority = 1024;
|
||||||
include = {
|
include = {
|
||||||
node_type = { };
|
node_type.__empty = { };
|
||||||
};
|
};
|
||||||
exclude = {
|
exclude = {
|
||||||
language = [ ];
|
language.__empty = { };
|
||||||
node_type = {
|
node_type = {
|
||||||
"*" = [
|
"*" = [
|
||||||
"source_file"
|
"source_file"
|
||||||
|
|
|
||||||
|
|
@ -9,28 +9,28 @@
|
||||||
|
|
||||||
settings = {
|
settings = {
|
||||||
scratch_repl = false;
|
scratch_repl = false;
|
||||||
repl_definition = { };
|
repl_definition.__empty = { };
|
||||||
repl_open_cmd.__raw = ''
|
repl_open_cmd.__raw = ''
|
||||||
require("iron.view").split.botright(40)
|
require("iron.view").split.botright(40)
|
||||||
'';
|
'';
|
||||||
highlight = { };
|
highlight.__empty = { };
|
||||||
highlight_last = "IronLastSent";
|
highlight_last = "IronLastSent";
|
||||||
ignore_blank_lines = true;
|
ignore_blank_lines = true;
|
||||||
should_map_plug = false;
|
should_map_plug = false;
|
||||||
bufListed = false;
|
bufListed = false;
|
||||||
keymaps = {
|
keymaps = {
|
||||||
send_motion = null;
|
send_motion.__raw = "nil";
|
||||||
visual_send = null;
|
visual_send.__raw = "nil";
|
||||||
send_file = null;
|
send_file.__raw = "nil";
|
||||||
send_paragraph = null;
|
send_paragraph.__raw = "nil";
|
||||||
send_until_cursor = null;
|
send_until_cursor.__raw = "nil";
|
||||||
send_mark = null;
|
send_mark.__raw = "nil";
|
||||||
mark_motion = null;
|
mark_motion.__raw = "nil";
|
||||||
remove_mark = null;
|
remove_mark.__raw = "nil";
|
||||||
cr = null;
|
cr.__raw = "nil";
|
||||||
interrupt = null;
|
interrupt.__raw = "nil";
|
||||||
exit = null;
|
exit.__raw = "nil";
|
||||||
clear = null;
|
clear.__raw = "nil";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
|
||||||
|
|
@ -17,11 +17,11 @@
|
||||||
root_dir.__raw = "require('jdtls.setup').find_root({'.git', 'mvnw', 'gradlew'})";
|
root_dir.__raw = "require('jdtls.setup').find_root({'.git', 'mvnw', 'gradlew'})";
|
||||||
|
|
||||||
settings = {
|
settings = {
|
||||||
java = { };
|
java.__empty = { };
|
||||||
};
|
};
|
||||||
|
|
||||||
init_options = {
|
init_options = {
|
||||||
bundles = { };
|
bundles.__empty = { };
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
|
||||||
|
|
@ -10,8 +10,8 @@
|
||||||
settings = {
|
settings = {
|
||||||
style = "hydrogen";
|
style = "hydrogen";
|
||||||
output_extension = "auto";
|
output_extension = "auto";
|
||||||
force_ft = null;
|
force_ft.__raw = "nil";
|
||||||
custom_language_formatting = { };
|
custom_language_formatting.__empty = { };
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
@ -23,7 +23,7 @@
|
||||||
settings = {
|
settings = {
|
||||||
style = "light";
|
style = "light";
|
||||||
output_extension = "auto";
|
output_extension = "auto";
|
||||||
force_ft = null;
|
force_ft.__raw = "nil";
|
||||||
custom_language_formatting.python = {
|
custom_language_formatting.python = {
|
||||||
extension = "md";
|
extension = "md";
|
||||||
style = "markdown";
|
style = "markdown";
|
||||||
|
|
|
||||||
|
|
@ -53,7 +53,7 @@
|
||||||
"--html"
|
"--html"
|
||||||
"-"
|
"-"
|
||||||
];
|
];
|
||||||
pathresolver = [ ];
|
pathresolver.__empty = { };
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
show_icons = "on_request";
|
show_icons = "on_request";
|
||||||
|
|
@ -65,7 +65,7 @@
|
||||||
};
|
};
|
||||||
lualine = "🐼";
|
lualine = "🐼";
|
||||||
};
|
};
|
||||||
additional_curl_options = { };
|
additional_curl_options.__empty = { };
|
||||||
scratchpad_default_contents = [
|
scratchpad_default_contents = [
|
||||||
"@MY_TOKEN_NAME=my_token_value"
|
"@MY_TOKEN_NAME=my_token_value"
|
||||||
""
|
""
|
||||||
|
|
@ -84,7 +84,7 @@
|
||||||
vscode_rest_client_environmentvars = false;
|
vscode_rest_client_environmentvars = false;
|
||||||
disable_script_print_output = false;
|
disable_script_print_output = false;
|
||||||
environment_scope = "b";
|
environment_scope = "b";
|
||||||
certificates = { };
|
certificates.__empty = { };
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
|
||||||
|
|
@ -23,7 +23,7 @@
|
||||||
floating_window_use_plenary = 0;
|
floating_window_use_plenary = 0;
|
||||||
use_neovim_remote = 1;
|
use_neovim_remote = 1;
|
||||||
use_custom_config_file_path = 0;
|
use_custom_config_file_path = 0;
|
||||||
config_file_path = [ ];
|
config_file_path.__empty = { };
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
|
||||||
|
|
@ -35,14 +35,14 @@
|
||||||
lean = {
|
lean = {
|
||||||
enable = true;
|
enable = true;
|
||||||
settings = {
|
settings = {
|
||||||
lsp = { };
|
lsp.__empty = { };
|
||||||
ft = {
|
ft = {
|
||||||
default = "lean";
|
default = "lean";
|
||||||
nomodifiable = null;
|
nomodifiable.__raw = "nil";
|
||||||
};
|
};
|
||||||
abbreviations = {
|
abbreviations = {
|
||||||
enable = true;
|
enable = true;
|
||||||
extra = { };
|
extra.__empty = { };
|
||||||
leader = "\\";
|
leader = "\\";
|
||||||
};
|
};
|
||||||
mappings = false;
|
mappings = false;
|
||||||
|
|
|
||||||
|
|
@ -18,7 +18,6 @@
|
||||||
example = {
|
example = {
|
||||||
plugins.leap = {
|
plugins.leap = {
|
||||||
enable = true;
|
enable = true;
|
||||||
addDefaultMappings = true;
|
|
||||||
settings = {
|
settings = {
|
||||||
max_phase_one_targets = 10;
|
max_phase_one_targets = 10;
|
||||||
highlight_unlabeled_phase_one_targets = false;
|
highlight_unlabeled_phase_one_targets = false;
|
||||||
|
|
|
||||||
|
|
@ -8,11 +8,11 @@
|
||||||
enable = true;
|
enable = true;
|
||||||
|
|
||||||
settings = {
|
settings = {
|
||||||
bin = null;
|
bin.__raw = "nil";
|
||||||
is_hledger = null;
|
is_hledger.__raw = "nil";
|
||||||
extra_options = "";
|
extra_options = "";
|
||||||
accounts_cmd = null;
|
accounts_cmd.__raw = "nil";
|
||||||
descriptions_cmd = null;
|
descriptions_cmd.__raw = "nil";
|
||||||
maxwidth = 0;
|
maxwidth = 0;
|
||||||
fillstring = " ";
|
fillstring = " ";
|
||||||
detailed_first = 1;
|
detailed_first = 1;
|
||||||
|
|
@ -28,8 +28,8 @@
|
||||||
date_format = "%Y/%m/%d";
|
date_format = "%Y/%m/%d";
|
||||||
main = "%";
|
main = "%";
|
||||||
winpos = "B";
|
winpos = "B";
|
||||||
qf_register_format = null;
|
qf_register_format.__raw = "nil";
|
||||||
qf_reconcile_format = null;
|
qf_reconcile_format.__raw = "nil";
|
||||||
use_location_list = 0;
|
use_location_list = 0;
|
||||||
qf_vertical = 0;
|
qf_vertical = 0;
|
||||||
qf_size = 10;
|
qf_size = 10;
|
||||||
|
|
|
||||||
|
|
@ -38,7 +38,7 @@
|
||||||
non_standalone = false;
|
non_standalone = false;
|
||||||
};
|
};
|
||||||
logging = true;
|
logging = true;
|
||||||
injector = { };
|
injector.__empty = { };
|
||||||
cache = {
|
cache = {
|
||||||
update_interval = 60 * 60 * 24 * 7;
|
update_interval = 60 * 60 * 24 * 7;
|
||||||
};
|
};
|
||||||
|
|
@ -67,7 +67,7 @@
|
||||||
show_stats = true;
|
show_stats = true;
|
||||||
};
|
};
|
||||||
picker = {
|
picker = {
|
||||||
provider = null;
|
provider.__raw = "nil";
|
||||||
};
|
};
|
||||||
hooks = {
|
hooks = {
|
||||||
"enter" = { };
|
"enter" = { };
|
||||||
|
|
@ -82,7 +82,7 @@
|
||||||
focus_testcases = "H";
|
focus_testcases = "H";
|
||||||
focus_result = "L";
|
focus_result = "L";
|
||||||
};
|
};
|
||||||
theme = { };
|
theme.__empty = { };
|
||||||
image_support = false;
|
image_support = false;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
|
||||||
|
|
@ -43,8 +43,7 @@
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
limits = {
|
limits = {
|
||||||
exclude = {
|
exclude.__empty = { };
|
||||||
};
|
|
||||||
exclude_gitignored = true;
|
exclude_gitignored = true;
|
||||||
max_lines = 1000;
|
max_lines = 1000;
|
||||||
max_lenses = 70;
|
max_lenses = 70;
|
||||||
|
|
|
||||||
Some files were not shown because too many files have changed in this diff Show more
Loading…
Add table
Add a link
Reference in a new issue