diff --git a/docs-preview-605/index.xhtml b/docs-preview-605/index.xhtml index 451c1e67..85b61706 100644 --- a/docs-preview-605/index.xhtml +++ b/docs-preview-605/index.xhtml @@ -33,7 +33,7 @@
Table of Contents
Table of Contents
Table of Contents
nvf is a highly modular, configurable, extensible and easy to use Neovim configuration in Nix. Designed for flexibility and ease of use, nvf allows you to easily configure your fully featured Neovim instance with a few lines of Nix.
@@ -43,7 +43,7 @@ reporting them over at the pull requests tab.Table of Contents
Thanks to the portability of Nix, you can try out nvf without actually +
Table of Contents
Thanks to the portability of Nix, you can try out nvf without actually installing it to your machine. Below are the commands you may run to try out different configurations provided by this flake. As of v0.5, two specialized configurations are provided:
Nix - Nix language server + simple utility plugins
Maximal - Variable language servers + utility and decorative plugins
You may try out any of the provided configurations using the nix run
command
@@ -80,7 +80,7 @@ downloading a whole bunch of language servers and associated tools.
Table of Contents
It is possible to install nvf without depending on NixOS or Home-Manager as the +module installation section.
Table of Contents
Table of Contents
It is possible to install nvf without depending on NixOS or Home-Manager as the
parent module system, using the neovimConfiguration
function exposed in the
extended library. This function will take modules
and extraSpecialArgs
as
arguments, and return the following schema as a result.
{
@@ -224,7 +224,7 @@ the default theme enabled. You may use other options inside Module Installation
Table of Contents
The below chapters will describe installing nvf as NixOS and Home-Manager
+
Table of Contents
The below chapters will describe installing nvf as NixOS and Home-Manager modules. Note that those methods are mutually exclusive, and will likely cause path collisions if used simultaneously.
Table of Contents
The NixOS module allows us to customize the different vim
options from inside
the NixOS configuration without having to call for the wrapper yourself. It is
@@ -359,7 +359,7 @@ installation sections of the manual. You may find all available options in the
As of v0.5, you may now specify the Neovim package that will be wrapped with +
Table of Contents
As of v0.5, you may now specify the Neovim package that will be wrapped with
your configuration. This is done with the vim.package
option.
{inputs, pkgs, ...}: {
# using the neovim-nightly overlay
vim.package = inputs.neovim-overlay.packages.${pkgs.system}.neovim;
@@ -371,7 +371,7 @@ the neovim package, similar to neovim-unwrapped
in
vim.package = pkgs.neovim-unwrapped;
}
-Table of Contents
nvf, by default, exposes a wide variety of plugins as module options for +
Table of Contents
nvf, by default, exposes a wide variety of plugins as module options for your convenience and bundles necessary dependencies into nvf’s runtime. In case a plugin is not available in nvf, you may consider making a pull request to nvf to include it as a module or you may add it to your @@ -661,21 +661,107 @@ direct DAG, but is converted to, and resolved as one internally
Table of Contents
There may be instances where the your Nix configuration evaluates to invalid +
Table of Contents
Table of Contents
We recognize that you might not always want to configure your setup purely in +Nix, sometimes doing things in Lua is simply the “superior” option. In such a +case you might want to configure your Neovim instance using Lua, and nothing but +Lua. It is also possible to mix Lua and Nix configurations.
Pure Lua or hybrid Lua/Nix configurations can be achieved in two different ways.
+Purely, by modifying Neovim’s runtime directory or impurely by placing Lua
+configuration in a directory found in $HOME
. For your convenience, this
+section will document both methods as they can be used.
As of 0.6, nvf allows you to modify Neovim’s runtime path to suit your needs.
+One of the ways the new runtime option is to add a configuration located
+relative to your flake.nix
, which must be version controlled in pure flakes
+manner.
{
+ # Let us assume we are in the repository root, i.e., the same directory as the
+ # flake.nix. For the sake of the argument, we will assume that the Neovim lua
+ # configuration is in a nvim/ directory relative to flake.nix.
+ vim = {
+ additionalRuntimeDirectories = [
+ # This will be added to Neovim's runtime paths. Conceptually, this behaves
+ # very similarly to ~/.config/nvim but you may not place a top-level
+ # init.lua to be able to require it directly.
+ ./nvim
+ ];
+ };
+}
+
This will add the nvim
directory, or rather, the store path that will be
+realised after your flake gets copied to the Nix store, to Neovim’s runtime
+directory. You may now create a lua/myconfig
directory within this nvim
+directory, and call it with vim.luaConfigRC
.
{pkgs, ...}: {
+ vim = {
+ additionalRuntimeDirectories = [
+ # You can list more than one file here.
+ ./nvim-custom-1
+
+ # To make sure list items are ordered, use lib.mkBefore or lib.mkAfter
+ # Simply placing list items in a given order will **not** ensure that
+ # this list will be deterministic.
+ ./nvim-custom-2
+ ];
+
+ startPlugins = [pkgs.vimPlugins.gitsigns];
+
+ # Neovim supports in-line syntax highlighting for multi-line strings.
+ # Simply place the filetype in a /* comment */ before the line.
+ luaConfigRC.myconfig = /* lua */ ''
+ -- Call the Lua module from ./nvim/lua/myconfig
+ require("myconfig")
+
+ -- Any additional Lua configuration that you might want *after* your own
+ -- configuration. For example, a plugin setup call.
+ require('gitsigns').setup({})
+ '';
+ };
+}
+
+As of Neovim 0.9, $NVIM_APPNAME
is a variable expected by Neovim to
+decide on the configuration directory. nvf sets this variable as "nvf"
,
+meaning ~/.config/nvf
will be regarded as the configuration directory by
+Neovim, similar to how ~/.config/nvim
behaves in regular installations. This
+allows some degree of Lua configuration, backed by our low-level wrapper
+mnw. Creating a lua/
directory located in
+$NVIM_APPNAME
(“nvf” by default) and placing your configuration in, e.g.,
+~/.config/nvf/lua/myconfig
will allow you to require
it as a part of the Lua
+module system through nvf’s module system.
Let’s assume your ~/.config/nvf/lua/myconfig/init.lua
consists of the
+following:
-- init.lua
+vim.keymap.set("n", " ", "<Nop>", { silent = true, remap = false })
+vim.g.mapleader = " "
+
The following Nix configuration via vim.luaConfigRC
will allow loading
+this
{
+ # The attribute name "myconfig-dir" here is arbitrary. It is required to be
+ # a *named* attribute by the DAG system, but the name is entirely up to you.
+ vim.luaConfigRC.myconfig-dir = ''
+ require("myconfig")
+
+ -- Any additional Lua
+ '';
+}
+
After you load your custom configuration, you may use an init.lua
located in
+your custom configuration directory to configure Neovim exactly as you would
+without a wrapper like nvf. If you want to place your require
call in a
+specific position (i.e., before or after options you set in nvf) the
+DAG system will let you place your configuration in a location of your
+choosing.
Table of Contents
There may be instances where the your Nix configuration evaluates to invalid Lua, or times when you will be asked to provide your built Lua configuration for easier debugging by nvf maintainers. nvf provides two helpful utilities out of the box.
nvf-print-config and nvf-print-config-path will be bundled with nvf as lightweight utilities to help you view or share your built configuration when necessary.
To view your configuration with syntax highlighting, you may use the bat pager.
nvf-print-config | bat --language=lua
-
Alternatively, cat
or less
may also be used.
Alternatively, cat
or less
may also be used.
neovimConfig
It is also possible to access the configuration for the wrapped package. The
+built Neovim package will contain a neovimConfig
attribute in its
+passthru
.
The manpages provided by nvf contains an offline version of the option search
normally available at https://notashelf.github.io/nvf/options.html. You may
use the man 5 nvf
command to view option documentation from the comfort of
your terminal.
Note that this is only available for NixOS and Home-Manager module installations.
Table of Contents
nvf is designed for the developer as much as it is designed for the end-user. We +
Table of Contents
nvf is designed for the developer as much as it is designed for the end-user. We would like for any contributor to be able to propagate their changes, or add new features to the project with minimum possible friction. As such, below are the guides and guidelines written to streamline the contribution process and to diff --git a/docs-preview-605/options.html b/docs-preview-605/options.html index 5965aec1..ca3ac5a6 100644 --- a/docs-preview-605/options.html +++ b/docs-preview-605/options.html @@ -4,7 +4,7 @@
-Below are the module options provided by nvf, in no particular order. Most +
Below are the module options provided by nvf, in no particular order. Most options will include useful comments, warnings or setup tips on how a module -option is meant to be used as well as examples in complex cases.
An offline version of this page is bundled with nvf as a part of the manpages
+which you can access with man 5 nvf
. Please us know if you believe any of the
+options below are missing useful examples.
vim.autocomplete.enableSharedCmpSources
+
+
+Whether to enable sources shared by blink.cmp and nvim-cmp.
+ +Type: +boolean
+ +Default:
+false
Example:
+true
Declared by:
+
+
+<nvf/modules/plugins/completion/module.nix>
+
+ |
vim.autocomplete.blink-cmp.enable
+
+
+Whether to enable blink.cmp.
+ +Type: +boolean
+ +Default:
+false
Example:
+true
Declared by:
+
+
+<nvf/modules/plugins/completion/blink-cmp/blink-cmp.nix>
+
+ |
vim.autocomplete.blink-cmp.mappings.close
+
+
+Close [blink.cmp]
+ +Type: +null or string
+ +Default:
+"<C-e>"
Declared by:
+
+
+<nvf/modules/plugins/completion/blink-cmp/blink-cmp.nix>
+
+ |
vim.autocomplete.blink-cmp.mappings.complete
+
+
+Complete [blink.cmp]
+ +Type: +null or string
+ +Default:
+"<C-Space>"
Declared by:
+
+
+<nvf/modules/plugins/completion/blink-cmp/blink-cmp.nix>
+
+ |
vim.autocomplete.blink-cmp.mappings.confirm
+
+
+Confirm [blink.cmp]
+ +Type: +null or string
+ +Default:
+"<CR>"
Declared by:
+
+
+<nvf/modules/plugins/completion/blink-cmp/blink-cmp.nix>
+
+ |
vim.autocomplete.blink-cmp.mappings.next
+
+
+Next item [blink.cmp]
+ +Type: +null or string
+ +Default:
+"<Tab>"
Declared by:
+
+
+<nvf/modules/plugins/completion/blink-cmp/blink-cmp.nix>
+
+ |
vim.autocomplete.blink-cmp.mappings.previous
+
+
+Previous item [blink.cmp]
+ +Type: +null or string
+ +Default:
+"<S-Tab>"
Declared by:
+
+
+<nvf/modules/plugins/completion/blink-cmp/blink-cmp.nix>
+
+ |
vim.autocomplete.blink-cmp.mappings.scrollDocsDown
+
+
+Scroll docs down [blink.cmp]
+ +Type: +null or string
+ +Default:
+"<C-f>"
Declared by:
+
+
+<nvf/modules/plugins/completion/blink-cmp/blink-cmp.nix>
+
+ |
vim.autocomplete.blink-cmp.mappings.scrollDocsUp
+
+
+Scroll docs up [blink.cmp]
+ +Type: +null or string
+ +Default:
+"<C-d>"
Declared by:
+
+
+<nvf/modules/plugins/completion/blink-cmp/blink-cmp.nix>
+
+ |
vim.autocomplete.blink-cmp.setupOpts
+
+
+Option table to pass into the setup function of blink.cmp
You can pass in any additional options even if they’re +not listed in the docs
+ +Type: +anything
+ +Default:
+{ }
Declared by:
+
+
+<nvf/modules/plugins/completion/blink-cmp/blink-cmp.nix>
+
+ |
vim.autocomplete.blink-cmp.setupOpts.completion.documentation.auto_show
+
+
+Show documentation whenever an item is selected
+ +Type: +boolean
+ +Default:
+true
Declared by:
+
+
+<nvf/modules/plugins/completion/blink-cmp/blink-cmp.nix>
+
+ |
vim.autocomplete.blink-cmp.setupOpts.completion.documentation.auto_show_delay_ms
+
+
+Delay before auto show triggers
+ +Type: +signed integer
+ +Default:
+200
Declared by:
+
+
+<nvf/modules/plugins/completion/blink-cmp/blink-cmp.nix>
+
+ |
vim.autocomplete.blink-cmp.setupOpts.fuzzy.prebuilt_binaries.download
+
+
+Auto-downloads prebuilt binaries. Do not enable, it doesn’t work on nix
+ +Type: +boolean
+ +Default:
+false
Declared by:
+
+
+<nvf/modules/plugins/completion/blink-cmp/blink-cmp.nix>
+
+ |
vim.autocomplete.blink-cmp.setupOpts.keymap
+
+
+blink.cmp keymap
+ +Type: +attribute set of list of (string or (luaInline))
+ +Default:
+{ }
Example:
vim.autocomplete.blink-cmp.setupOpts.keymap = {
+ preset = "none";
+
+ "<Up>" = ["select_prev" "fallback"];
+ "<C-n>" = [
+ (lib.generators.mkLuaInline '''
+ function(cmp)
+ if some_condition then return end -- runs the next command
+ return true -- doesn't run the next command
+ end,
+ ''')
+ "select_next"
+ ];
+};
+
+
+Declared by:
+
+
+<nvf/modules/plugins/completion/blink-cmp/blink-cmp.nix>
+
+ |
vim.autocomplete.blink-cmp.setupOpts.keymap.preset
+
+
+keymap presets
+ +Type: +one of “default”, “none”, “super-tab”, “enter”
+ +Default:
+"none"
Declared by:
+
+
+<nvf/modules/plugins/completion/blink-cmp/blink-cmp.nix>
+
+ |
vim.autocomplete.blink-cmp.setupOpts.sources.cmdline
+
+
+List of sources to enable for cmdline. Null means use default source list.
+ +Type: +null or (list of string)
+ +Default:
+[ ]
Declared by:
+
+
+<nvf/modules/plugins/completion/blink-cmp/blink-cmp.nix>
+
+ |
vim.autocomplete.blink-cmp.setupOpts.sources.default
+
+
+Default list of sources to enable for completion.
+ +Type: +list of string
+ +Default:
[
+ "lsp"
+ "path"
+ "snippets"
+ "buffer"
+]
+
+
+Declared by:
+
+
+<nvf/modules/plugins/completion/blink-cmp/blink-cmp.nix>
+
+ |
vim.autocomplete.blink-cmp.setupOpts.sources.providers
+
+
+Settings for completion providers
+ +Type: +attribute set of (anything)
+ +Default:
+{ }
Declared by:
+
+
+<nvf/modules/plugins/completion/blink-cmp/blink-cmp.nix>
+
+ |
vim.autocomplete.blink-cmp.setupOpts.sources.providers.<name>.module
+
+
+module of the provider
+ +Type: +string
+ +Declared by:
+
+
+<nvf/modules/plugins/completion/blink-cmp/blink-cmp.nix>
+
+ |
vim.autocomplete.blink-cmp.setupOpts.sources.transform_items
+
+
+Function to use when transforming the items before they’re returned +for all providers.
+ +Type: +null or (luaInline)
+ +Default:
''
+ Our default does nothing. If you want blink.cmp's default, which
+ lowers the score for snippets, set this option to null.
+''
+
+
+Declared by:
+
+
+<nvf/modules/plugins/completion/blink-cmp/blink-cmp.nix>
+
+ |
vim.autocomplete.nvim-cmp.enable
@@ -1340,7 +1851,7 @@ mergeless list of (string or (luaInline))
List of source plugins used by nvim-cmp.
Type: -list of (null or package or one of “chatgpt-nvim”, “comment-nvim”, “luasnip”, “aerial-nvim”, “alpha-nvim”, “base16-nvim”, “bufdelete-nvim”, “catppuccin”, “ccc-nvim”, “cellular-automaton-nvim”, “cheatsheet-nvim”, “cinnamon-nvim”, “cmp-buffer”, “cmp-nvim-lsp”, “cmp-path”, “cmp-treesitter”, “cmp-luasnip”, “codewindow-nvim”, “conform-nvim”, “copilot-cmp”, “copilot-lua”, “crates-nvim”, “csharpls-extended-lsp-nvim”, “dashboard-nvim”, “diffview-nvim”, “dracula-nvim”, “dressing-nvim”, “elixir-tools-nvim”, “fastaction-nvim”, “fidget-nvim”, “flutter-tools-nvim”, “friendly-snippets”, “fzf-lua”, “gesture-nvim”, “gitsigns-nvim”, “glow-nvim”, “gruvbox-nvim”, “haskell-tools-nvim”, “highlight-undo-nvim”, “hop-nvim”, “icon-picker-nvim”, “image-nvim”, “indent-blankline-nvim”, “leap-nvim”, “lsp-signature-nvim”, “lspkind-nvim”, “lspsaga-nvim”, “lua-utils-nvim”, “lualine-nvim”, “lz-n”, “lzn-auto-require”, “mind-nvim”, “mini-git”, “mini-ai”, “mini-align”, “mini-animate”, “mini-base16”, “mini-basics”, “mini-bracketed”, “mini-bufremove”, “mini-clue”, “mini-colors”, “mini-comment”, “mini-completion”, “mini-diff”, “mini-doc”, “mini-extra”, “mini-files”, “mini-fuzzy”, “mini-hipatterns”, “mini-hues”, “mini-icons”, “mini-indentscope”, “mini-jump”, “mini-jump2d”, “mini-map”, “mini-misc”, “mini-move”, “mini-notify”, “mini-operators”, “mini-pairs”, “mini-pick”, “mini-sessions”, “mini-snippets”, “mini-splitjoin”, “mini-starter”, “mini-statusline”, “mini-surround”, “mini-tabline”, “mini-test”, “mini-trailspace”, “mini-visits”, “minimap-vim”, “modes-nvim”, “neo-tree-nvim”, “neocord”, “neodev-nvim”, “neorg”, “neorg-telescope”, “neovim”, “neovim-session-manager”, “new-file-template-nvim”, “nixpkgs”, “noice-nvim”, “none-ls-nvim”, “nord-nvim”, “nui-nvim”, “nvim-autopairs”, “nvim-bufferline-lua”, “nvim-cmp”, “nvim-colorizer-lua”, “nvim-cursorline”, “nvim-dap”, “nvim-dap-go”, “nvim-dap-ui”, “nvim-docs-view”, “nvim-lightbulb”, “nvim-lint”, “nvim-lspconfig”, “nvim-metals”, “nvim-navbuddy”, “nvim-navic”, “nvim-neoclip-lua”, “nvim-nio”, “nvim-notify”, “nvim-scrollbar”, “nvim-surround”, “nvim-tree-lua”, “nvim-treesitter-context”, “nvim-ts-autotag”, “nvim-ufo”, “nvim-web-devicons”, “obsidian-nvim”, “omnisharp-extended-lsp-nvim”, “onedark-nvim”, “orgmode”, “otter-nvim”, “oxocarbon-nvim”, “pathlib-nvim”, “plenary-nvim”, “precognition-nvim”, “project-nvim”, “promise-async”, “rainbow-delimiters-nvim”, “registers-nvim”, “render-markdown-nvim”, “rtp-nvim”, “run-nvim”, “rustaceanvim”, “smartcolumn-nvim”, “sqls-nvim”, “tabular”, “telescope-nvim”, “tiny-devicons-auto-colors-nvim”, “todo-comments-nvim”, “toggleterm-nvim”, “tokyonight-nvim”, “trouble-nvim”, “ts-error-translator-nvim”, “typst-preview-nvim”, “vim-dirtytalk”, “vim-fugitive”, “vim-illuminate”, “vim-markdown”, “vim-repeat”, “vim-startify”, “which-key-nvim”, “yanky-nvim”, “nvim-treesitter”, “flutter-tools-patched”, “vim-repeat”)
+list of (null or package or one of “aerial-nvim”, “alpha-nvim”, “base16”, “blink-cmp”, “blink-compat”, “bufdelete-nvim”, “catppuccin”, “ccc”, “cellular-automaton”, “chatgpt”, “cheatsheet-nvim”, “cinnamon-nvim”, “cmp-buffer”, “cmp-luasnip”, “cmp-nvim-lsp”, “cmp-path”, “cmp-treesitter”, “codewindow-nvim”, “comment-nvim”, “copilot-cmp”, “copilot-lua”, “crates-nvim”, “csharpls-extended”, “dashboard-nvim”, “diffview-nvim”, “dracula”, “dressing-nvim”, “elixir-tools”, “fastaction-nvim”, “fidget-nvim”, “flutter-tools”, “friendly-snippets”, “fzf-lua”, “gesture-nvim”, “gitsigns-nvim”, “glow-nvim”, “gruvbox”, “haskell-tools-nvim”, “highlight-undo”, “hop-nvim”, “icon-picker-nvim”, “image-nvim”, “indent-blankline”, “leap-nvim”, “lsp-lines”, “lsp-signature”, “lspkind”, “lspsaga”, “lua-utils-nvim”, “lualine”, “luasnip”, “lz-n”, “lzn-auto-require”, “mind-nvim”, “mini-ai”, “mini-align”, “mini-animate”, “mini-base16”, “mini-basics”, “mini-bracketed”, “mini-bufremove”, “mini-clue”, “mini-colors”, “mini-comment”, “mini-completion”, “mini-diff”, “mini-doc”, “mini-extra”, “mini-files”, “mini-fuzzy”, “mini-git”, “mini-hipatterns”, “mini-hues”, “mini-icons”, “mini-indentscope”, “mini-jump”, “mini-jump2d”, “mini-map”, “mini-misc”, “mini-move”, “mini-notify”, “mini-operators”, “mini-pairs”, “mini-pick”, “mini-sessions”, “mini-snippets”, “mini-splitjoin”, “mini-starter”, “mini-statusline”, “mini-surround”, “mini-tabline”, “mini-test”, “mini-trailspace”, “mini-visits”, “minimap-vim”, “modes-nvim”, “neo-tree-nvim”, “neocord”, “neodev-nvim”, “neorg”, “neorg-telescope”, “new-file-template-nvim”, “noice-nvim”, “none-ls”, “nord”, “nui-nvim”, “nvim-autopairs”, “nvim-bufferline-lua”, “nvim-cmp”, “nvim-colorizer-lua”, “nvim-cursorline”, “nvim-dap”, “nvim-dap-go”, “nvim-dap-ui”, “nvim-docs-view”, “nvim-lightbulb”, “nvim-lspconfig”, “nvim-metals”, “nvim-navbuddy”, “nvim-navic”, “nvim-neoclip”, “nvim-nio”, “nvim-notify”, “nvim-scrollbar”, “nvim-session-manager”, “nvim-surround”, “nvim-tree-lua”, “nvim-treesitter-context”, “nvim-ts-autotag”, “nvim-ufo”, “nvim-web-devicons”, “obsidian-nvim”, “omnisharp-extended”, “onedark”, “orgmode-nvim”, “otter-nvim”, “oxocarbon”, “pathlib-nvim”, “plenary-nvim”, “precognition-nvim”, “project-nvim”, “promise-async”, “rainbow-delimiters”, “registers”, “render-markdown-nvim”, “rose-pine”, “rtp-nvim”, “run-nvim”, “rustaceanvim”, “smartcolumn”, “sqls-nvim”, “tabular”, “telescope”, “tiny-devicons-auto-colors”, “todo-comments”, “toggleterm-nvim”, “tokyonight”, “trouble”, “ts-error-translator”, “typst-preview-nvim”, “vim-dirtytalk”, “vim-fugitive”, “vim-illuminate”, “vim-markdown”, “vim-repeat”, “vim-startify”, “which-key”, “yanky-nvim”, “nvim-treesitter”, “flutter-tools-patched”, “vim-repeat”)Default:
[ ]
vim.diagnostics.nvim-lint.enable
-
-
-Whether to enable asynchronous linter plugin for Neovim [nvim-lint].
- -Type: -boolean
- -Default:
-false
Example:
-true
Declared by:
-
-
-<nvf/modules/plugins/diagnostics/nvim-lint/nvim-lint.nix>
-
- |
vim.diagnostics.nvim-lint.setupOpts
-
-
-Option table to pass into the setup function of nvim-lint
You can pass in any additional options even if they’re -not listed in the docs
- -Type: -anything
- -Default:
-{ }
Declared by:
-
-
-<nvf/modules/plugins/diagnostics/nvim-lint/nvim-lint.nix>
-
- |
vim.diagnostics.nvim-lint.setupOpts.linters_by_ft
-
-
-Map of filetype to formatters. This option takes a set of
-key = value
format where the value
will be converted
-to its Lua equivalent. You are responsible for passing the
-correct Nix data types to generate a correct Lua value that
-conform is able to accept.
Type: -attribute set of list of string
- -Default:
-{ }
Example:
{
- markdown = [
- "vale"
- ];
- text = [
- "vale"
- ];
-}
-
-
-Declared by:
-
-
-<nvf/modules/plugins/diagnostics/nvim-lint/nvim-lint.nix>
-
- |
vim.disableArrows
-
-
-Set to prevent arrow keys from moving cursor
- -Type: -boolean
- -Default:
-false
Declared by:
-
-
-<nvf/modules/neovim/init/basic.nix>
-
- |
vim.extraLuaFiles
@@ -3504,7 +3901,7 @@ attribute set of (submodule)
Plugin Package.
Type: -null or package or one of “chatgpt-nvim”, “comment-nvim”, “luasnip”, “aerial-nvim”, “alpha-nvim”, “base16-nvim”, “bufdelete-nvim”, “catppuccin”, “ccc-nvim”, “cellular-automaton-nvim”, “cheatsheet-nvim”, “cinnamon-nvim”, “cmp-buffer”, “cmp-nvim-lsp”, “cmp-path”, “cmp-treesitter”, “cmp-luasnip”, “codewindow-nvim”, “conform-nvim”, “copilot-cmp”, “copilot-lua”, “crates-nvim”, “csharpls-extended-lsp-nvim”, “dashboard-nvim”, “diffview-nvim”, “dracula-nvim”, “dressing-nvim”, “elixir-tools-nvim”, “fastaction-nvim”, “fidget-nvim”, “flutter-tools-nvim”, “friendly-snippets”, “fzf-lua”, “gesture-nvim”, “gitsigns-nvim”, “glow-nvim”, “gruvbox-nvim”, “haskell-tools-nvim”, “highlight-undo-nvim”, “hop-nvim”, “icon-picker-nvim”, “image-nvim”, “indent-blankline-nvim”, “leap-nvim”, “lsp-signature-nvim”, “lspkind-nvim”, “lspsaga-nvim”, “lua-utils-nvim”, “lualine-nvim”, “lz-n”, “lzn-auto-require”, “mind-nvim”, “mini-git”, “mini-ai”, “mini-align”, “mini-animate”, “mini-base16”, “mini-basics”, “mini-bracketed”, “mini-bufremove”, “mini-clue”, “mini-colors”, “mini-comment”, “mini-completion”, “mini-diff”, “mini-doc”, “mini-extra”, “mini-files”, “mini-fuzzy”, “mini-hipatterns”, “mini-hues”, “mini-icons”, “mini-indentscope”, “mini-jump”, “mini-jump2d”, “mini-map”, “mini-misc”, “mini-move”, “mini-notify”, “mini-operators”, “mini-pairs”, “mini-pick”, “mini-sessions”, “mini-snippets”, “mini-splitjoin”, “mini-starter”, “mini-statusline”, “mini-surround”, “mini-tabline”, “mini-test”, “mini-trailspace”, “mini-visits”, “minimap-vim”, “modes-nvim”, “neo-tree-nvim”, “neocord”, “neodev-nvim”, “neorg”, “neorg-telescope”, “neovim”, “neovim-session-manager”, “new-file-template-nvim”, “nixpkgs”, “noice-nvim”, “none-ls-nvim”, “nord-nvim”, “nui-nvim”, “nvim-autopairs”, “nvim-bufferline-lua”, “nvim-cmp”, “nvim-colorizer-lua”, “nvim-cursorline”, “nvim-dap”, “nvim-dap-go”, “nvim-dap-ui”, “nvim-docs-view”, “nvim-lightbulb”, “nvim-lint”, “nvim-lspconfig”, “nvim-metals”, “nvim-navbuddy”, “nvim-navic”, “nvim-neoclip-lua”, “nvim-nio”, “nvim-notify”, “nvim-scrollbar”, “nvim-surround”, “nvim-tree-lua”, “nvim-treesitter-context”, “nvim-ts-autotag”, “nvim-ufo”, “nvim-web-devicons”, “obsidian-nvim”, “omnisharp-extended-lsp-nvim”, “onedark-nvim”, “orgmode”, “otter-nvim”, “oxocarbon-nvim”, “pathlib-nvim”, “plenary-nvim”, “precognition-nvim”, “project-nvim”, “promise-async”, “rainbow-delimiters-nvim”, “registers-nvim”, “render-markdown-nvim”, “rtp-nvim”, “run-nvim”, “rustaceanvim”, “smartcolumn-nvim”, “sqls-nvim”, “tabular”, “telescope-nvim”, “tiny-devicons-auto-colors-nvim”, “todo-comments-nvim”, “toggleterm-nvim”, “tokyonight-nvim”, “trouble-nvim”, “ts-error-translator-nvim”, “typst-preview-nvim”, “vim-dirtytalk”, “vim-fugitive”, “vim-illuminate”, “vim-markdown”, “vim-repeat”, “vim-startify”, “which-key-nvim”, “yanky-nvim”, “nvim-treesitter”, “flutter-tools-patched”, “vim-repeat”
+null or package or one of “aerial-nvim”, “alpha-nvim”, “base16”, “blink-cmp”, “blink-compat”, “bufdelete-nvim”, “catppuccin”, “ccc”, “cellular-automaton”, “chatgpt”, “cheatsheet-nvim”, “cinnamon-nvim”, “cmp-buffer”, “cmp-luasnip”, “cmp-nvim-lsp”, “cmp-path”, “cmp-treesitter”, “codewindow-nvim”, “comment-nvim”, “copilot-cmp”, “copilot-lua”, “crates-nvim”, “csharpls-extended”, “dashboard-nvim”, “diffview-nvim”, “dracula”, “dressing-nvim”, “elixir-tools”, “fastaction-nvim”, “fidget-nvim”, “flutter-tools”, “friendly-snippets”, “fzf-lua”, “gesture-nvim”, “gitsigns-nvim”, “glow-nvim”, “gruvbox”, “haskell-tools-nvim”, “highlight-undo”, “hop-nvim”, “icon-picker-nvim”, “image-nvim”, “indent-blankline”, “leap-nvim”, “lsp-lines”, “lsp-signature”, “lspkind”, “lspsaga”, “lua-utils-nvim”, “lualine”, “luasnip”, “lz-n”, “lzn-auto-require”, “mind-nvim”, “mini-ai”, “mini-align”, “mini-animate”, “mini-base16”, “mini-basics”, “mini-bracketed”, “mini-bufremove”, “mini-clue”, “mini-colors”, “mini-comment”, “mini-completion”, “mini-diff”, “mini-doc”, “mini-extra”, “mini-files”, “mini-fuzzy”, “mini-git”, “mini-hipatterns”, “mini-hues”, “mini-icons”, “mini-indentscope”, “mini-jump”, “mini-jump2d”, “mini-map”, “mini-misc”, “mini-move”, “mini-notify”, “mini-operators”, “mini-pairs”, “mini-pick”, “mini-sessions”, “mini-snippets”, “mini-splitjoin”, “mini-starter”, “mini-statusline”, “mini-surround”, “mini-tabline”, “mini-test”, “mini-trailspace”, “mini-visits”, “minimap-vim”, “modes-nvim”, “neo-tree-nvim”, “neocord”, “neodev-nvim”, “neorg”, “neorg-telescope”, “new-file-template-nvim”, “noice-nvim”, “none-ls”, “nord”, “nui-nvim”, “nvim-autopairs”, “nvim-bufferline-lua”, “nvim-cmp”, “nvim-colorizer-lua”, “nvim-cursorline”, “nvim-dap”, “nvim-dap-go”, “nvim-dap-ui”, “nvim-docs-view”, “nvim-lightbulb”, “nvim-lspconfig”, “nvim-metals”, “nvim-navbuddy”, “nvim-navic”, “nvim-neoclip”, “nvim-nio”, “nvim-notify”, “nvim-scrollbar”, “nvim-session-manager”, “nvim-surround”, “nvim-tree-lua”, “nvim-treesitter-context”, “nvim-ts-autotag”, “nvim-ufo”, “nvim-web-devicons”, “obsidian-nvim”, “omnisharp-extended”, “onedark”, “orgmode-nvim”, “otter-nvim”, “oxocarbon”, “pathlib-nvim”, “plenary-nvim”, “precognition-nvim”, “project-nvim”, “promise-async”, “rainbow-delimiters”, “registers”, “render-markdown-nvim”, “rose-pine”, “rtp-nvim”, “run-nvim”, “rustaceanvim”, “smartcolumn”, “sqls-nvim”, “tabular”, “telescope”, “tiny-devicons-auto-colors”, “todo-comments”, “toggleterm-nvim”, “tokyonight”, “trouble”, “ts-error-translator”, “typst-preview-nvim”, “vim-dirtytalk”, “vim-fugitive”, “vim-illuminate”, “vim-markdown”, “vim-repeat”, “vim-startify”, “which-key”, “yanky-nvim”, “nvim-treesitter”, “flutter-tools-patched”, “vim-repeat”Declared by:
vim.formatter.conform-nvim.enable
-
-
-Whether to enable lightweight yet powerful formatter plugin for Neovim [conform-nvim].
- -Type: -boolean
- -Default:
-false
Example:
-true
Declared by:
-
-
-<nvf/modules/plugins/formatter/conform-nvim/conform-nvim.nix>
-
- |
vim.formatter.conform-nvim.setupOpts
-
-
-Option table to pass into the setup function of conform.nvim
You can pass in any additional options even if they’re -not listed in the docs
- -Type: -anything
- -Default:
-{ }
Declared by:
-
-
-<nvf/modules/plugins/formatter/conform-nvim/conform-nvim.nix>
-
- |
vim.formatter.conform-nvim.setupOpts.default_format_opts
-
-
-Default values when calling conform.format()
Type: -attribute set
- -Default:
{
- lsp_format = "fallback";
-}
-
-
-Declared by:
-
-
-<nvf/modules/plugins/formatter/conform-nvim/conform-nvim.nix>
-
- |
vim.formatter.conform-nvim.setupOpts.format_after_save
-
-
-Table that will be passed to conform.format()
. If this
-is set, Conform will run the formatter asynchronously after
-save.
Type: -attribute set
- -Default:
{
- lsp_format = "fallback";
-}
-
-
-Declared by:
-
-
-<nvf/modules/plugins/formatter/conform-nvim/conform-nvim.nix>
-
- |
vim.formatter.conform-nvim.setupOpts.format_on_save
-
-
-Table that will be passed to conform.format()
. If this
-is set, Conform will run the formatter on save.
Type: -attribute set
- -Default:
{
- lsp_format = "fallback";
- timeout_ms = 500;
-}
-
-
-Declared by:
-
-
-<nvf/modules/plugins/formatter/conform-nvim/conform-nvim.nix>
-
- |
vim.formatter.conform-nvim.setupOpts.formatters_by_ft
-
-
-Map of filetype to formatters. This option takes a set of
-key = value
format where the value will
be converted
-to its Lua equivalent. You are responsible for passing the
-correct Nix data types to generate a correct Lua value that
-conform is able to accept.
Type: -attribute set
- -Default:
-{ }
Example:
{
- lua = [
- "stylua"
- ];
-}
-
-
-Declared by:
-
-
-<nvf/modules/plugins/formatter/conform-nvim/conform-nvim.nix>
-
- |
vim.fzf-lua.enable
@@ -13895,7 +14123,7 @@ package or list of string
Nix LSP server to use
Type: -value “nil” (singular enum)
+one of “nil”, “nixd”Default:
"nil"
Plugin package.
If null, a custom load function must be provided
Type: -null or null or package or one of “chatgpt-nvim”, “comment-nvim”, “luasnip”, “aerial-nvim”, “alpha-nvim”, “base16-nvim”, “bufdelete-nvim”, “catppuccin”, “ccc-nvim”, “cellular-automaton-nvim”, “cheatsheet-nvim”, “cinnamon-nvim”, “cmp-buffer”, “cmp-nvim-lsp”, “cmp-path”, “cmp-treesitter”, “cmp-luasnip”, “codewindow-nvim”, “conform-nvim”, “copilot-cmp”, “copilot-lua”, “crates-nvim”, “csharpls-extended-lsp-nvim”, “dashboard-nvim”, “diffview-nvim”, “dracula-nvim”, “dressing-nvim”, “elixir-tools-nvim”, “fastaction-nvim”, “fidget-nvim”, “flutter-tools-nvim”, “friendly-snippets”, “fzf-lua”, “gesture-nvim”, “gitsigns-nvim”, “glow-nvim”, “gruvbox-nvim”, “haskell-tools-nvim”, “highlight-undo-nvim”, “hop-nvim”, “icon-picker-nvim”, “image-nvim”, “indent-blankline-nvim”, “leap-nvim”, “lsp-signature-nvim”, “lspkind-nvim”, “lspsaga-nvim”, “lua-utils-nvim”, “lualine-nvim”, “lz-n”, “lzn-auto-require”, “mind-nvim”, “mini-git”, “mini-ai”, “mini-align”, “mini-animate”, “mini-base16”, “mini-basics”, “mini-bracketed”, “mini-bufremove”, “mini-clue”, “mini-colors”, “mini-comment”, “mini-completion”, “mini-diff”, “mini-doc”, “mini-extra”, “mini-files”, “mini-fuzzy”, “mini-hipatterns”, “mini-hues”, “mini-icons”, “mini-indentscope”, “mini-jump”, “mini-jump2d”, “mini-map”, “mini-misc”, “mini-move”, “mini-notify”, “mini-operators”, “mini-pairs”, “mini-pick”, “mini-sessions”, “mini-snippets”, “mini-splitjoin”, “mini-starter”, “mini-statusline”, “mini-surround”, “mini-tabline”, “mini-test”, “mini-trailspace”, “mini-visits”, “minimap-vim”, “modes-nvim”, “neo-tree-nvim”, “neocord”, “neodev-nvim”, “neorg”, “neorg-telescope”, “neovim”, “neovim-session-manager”, “new-file-template-nvim”, “nixpkgs”, “noice-nvim”, “none-ls-nvim”, “nord-nvim”, “nui-nvim”, “nvim-autopairs”, “nvim-bufferline-lua”, “nvim-cmp”, “nvim-colorizer-lua”, “nvim-cursorline”, “nvim-dap”, “nvim-dap-go”, “nvim-dap-ui”, “nvim-docs-view”, “nvim-lightbulb”, “nvim-lint”, “nvim-lspconfig”, “nvim-metals”, “nvim-navbuddy”, “nvim-navic”, “nvim-neoclip-lua”, “nvim-nio”, “nvim-notify”, “nvim-scrollbar”, “nvim-surround”, “nvim-tree-lua”, “nvim-treesitter-context”, “nvim-ts-autotag”, “nvim-ufo”, “nvim-web-devicons”, “obsidian-nvim”, “omnisharp-extended-lsp-nvim”, “onedark-nvim”, “orgmode”, “otter-nvim”, “oxocarbon-nvim”, “pathlib-nvim”, “plenary-nvim”, “precognition-nvim”, “project-nvim”, “promise-async”, “rainbow-delimiters-nvim”, “registers-nvim”, “render-markdown-nvim”, “rtp-nvim”, “run-nvim”, “rustaceanvim”, “smartcolumn-nvim”, “sqls-nvim”, “tabular”, “telescope-nvim”, “tiny-devicons-auto-colors-nvim”, “todo-comments-nvim”, “toggleterm-nvim”, “tokyonight-nvim”, “trouble-nvim”, “ts-error-translator-nvim”, “typst-preview-nvim”, “vim-dirtytalk”, “vim-fugitive”, “vim-illuminate”, “vim-markdown”, “vim-repeat”, “vim-startify”, “which-key-nvim”, “yanky-nvim”, “nvim-treesitter”, “flutter-tools-patched”, “vim-repeat”
+null or null or package or one of “aerial-nvim”, “alpha-nvim”, “base16”, “blink-cmp”, “blink-compat”, “bufdelete-nvim”, “catppuccin”, “ccc”, “cellular-automaton”, “chatgpt”, “cheatsheet-nvim”, “cinnamon-nvim”, “cmp-buffer”, “cmp-luasnip”, “cmp-nvim-lsp”, “cmp-path”, “cmp-treesitter”, “codewindow-nvim”, “comment-nvim”, “copilot-cmp”, “copilot-lua”, “crates-nvim”, “csharpls-extended”, “dashboard-nvim”, “diffview-nvim”, “dracula”, “dressing-nvim”, “elixir-tools”, “fastaction-nvim”, “fidget-nvim”, “flutter-tools”, “friendly-snippets”, “fzf-lua”, “gesture-nvim”, “gitsigns-nvim”, “glow-nvim”, “gruvbox”, “haskell-tools-nvim”, “highlight-undo”, “hop-nvim”, “icon-picker-nvim”, “image-nvim”, “indent-blankline”, “leap-nvim”, “lsp-lines”, “lsp-signature”, “lspkind”, “lspsaga”, “lua-utils-nvim”, “lualine”, “luasnip”, “lz-n”, “lzn-auto-require”, “mind-nvim”, “mini-ai”, “mini-align”, “mini-animate”, “mini-base16”, “mini-basics”, “mini-bracketed”, “mini-bufremove”, “mini-clue”, “mini-colors”, “mini-comment”, “mini-completion”, “mini-diff”, “mini-doc”, “mini-extra”, “mini-files”, “mini-fuzzy”, “mini-git”, “mini-hipatterns”, “mini-hues”, “mini-icons”, “mini-indentscope”, “mini-jump”, “mini-jump2d”, “mini-map”, “mini-misc”, “mini-move”, “mini-notify”, “mini-operators”, “mini-pairs”, “mini-pick”, “mini-sessions”, “mini-snippets”, “mini-splitjoin”, “mini-starter”, “mini-statusline”, “mini-surround”, “mini-tabline”, “mini-test”, “mini-trailspace”, “mini-visits”, “minimap-vim”, “modes-nvim”, “neo-tree-nvim”, “neocord”, “neodev-nvim”, “neorg”, “neorg-telescope”, “new-file-template-nvim”, “noice-nvim”, “none-ls”, “nord”, “nui-nvim”, “nvim-autopairs”, “nvim-bufferline-lua”, “nvim-cmp”, “nvim-colorizer-lua”, “nvim-cursorline”, “nvim-dap”, “nvim-dap-go”, “nvim-dap-ui”, “nvim-docs-view”, “nvim-lightbulb”, “nvim-lspconfig”, “nvim-metals”, “nvim-navbuddy”, “nvim-navic”, “nvim-neoclip”, “nvim-nio”, “nvim-notify”, “nvim-scrollbar”, “nvim-session-manager”, “nvim-surround”, “nvim-tree-lua”, “nvim-treesitter-context”, “nvim-ts-autotag”, “nvim-ufo”, “nvim-web-devicons”, “obsidian-nvim”, “omnisharp-extended”, “onedark”, “orgmode-nvim”, “otter-nvim”, “oxocarbon”, “pathlib-nvim”, “plenary-nvim”, “precognition-nvim”, “project-nvim”, “promise-async”, “rainbow-delimiters”, “registers”, “render-markdown-nvim”, “rose-pine”, “rtp-nvim”, “run-nvim”, “rustaceanvim”, “smartcolumn”, “sqls-nvim”, “tabular”, “telescope”, “tiny-devicons-auto-colors”, “todo-comments”, “toggleterm-nvim”, “tokyonight”, “trouble”, “ts-error-translator”, “typst-preview-nvim”, “vim-dirtytalk”, “vim-fugitive”, “vim-illuminate”, “vim-markdown”, “vim-repeat”, “vim-startify”, “which-key”, “yanky-nvim”, “nvim-treesitter”, “flutter-tools-patched”, “vim-repeat”Declared by:
-
-<nvf/modules/plugins/utility/telescope/telescope.nix>
-
- |
vim.telescope.setupOpts.defaults.layout_config.horizontal.results_width
-
-
-Type: -floating point number
- -Default:
-0.8
Declared by:
diff --git a/docs-preview-605/quirks.html b/docs-preview-605/quirks.html index 4ff1fa95..94944908 100644 --- a/docs-preview-605/quirks.html +++ b/docs-preview-605/quirks.html @@ -9,7 +9,7 @@ - + | Home | -Appendix B. Neovim Flake Configuration Options | +Appendix B. nvf Configuration Options |
Table of Contents
Release notes for release 0.7
vim.configRC
removed In v0.7 we are removing vim.configRC
in favor of making vim.luaConfigRC
the
+
Table of Contents
Release notes for release 0.7
vim.configRC
removed In v0.7 we are removing vim.configRC
in favor of making vim.luaConfigRC
the
top-level DAG, and thereby making the entire configuration Lua based. This
change introduces a few breaking changes:
vim.configRC
has been removed, which means that you have to convert all of
your custom vimscript-based configuration to Lua. As for how to do that, you
@@ -373,7 +373,7 @@ Svelte. Enable them via
-
Appendix B. Neovim Flake Configuration Options
+ Appendix B. nvf Configuration Options
Home