From a3c15d40a2e59eb8f4497837b112edc04e7a74aa Mon Sep 17 00:00:00 2001
From: GitHub Actions
depend on a new version, requesting a version bump in the issues section is a
more reliable option.
Table of Contents
Language specific support means there is a combination of language specific
-plugins, treesitter
support, nvim-lspconfig
language servers, and null-ls
-integration. This gets you capabilities ranging from autocompletion to
-formatting to diagnostics. The following languages have sections under the
-vim.languages
attribute.
C/C++: vim.languages.clang.enable
Typescript/Javascript: vim.languages.ts.enable
Python: vim.languages.python.enable:
Markdown: vim.languages.markdown.enable
Adding support for more languages, and improving support for existing ones are
+plugins, treesitter
support, nvim-lspconfig
language servers, conform-nvim
+formatters, and nvim-lint
linter integration. This gets you capabilities
+ranging from autocompletion to formatting to diagnostics. The following
+languages have sections under the vim.languages
attribute.
C/C++: vim.languages.clang.enable
Typescript/Javascript: vim.languages.ts.enable
Python: vim.languages.python.enable:
Markdown: vim.languages.markdown.enable
Assembly: vim.languages.assembly.enable
Astro: vim.languages.astro.enable
Clang: vim.languages.clang.enable
Clojure: vim.languages.clojure.enable
Elixir: vim.languages.elixir.enable
Gleam: vim.languages.gleam.enable
Julia: vim.languages.julia.enable
Kotlin: vim.languages.kotlin.enable
OCaml: vim.languages.ocaml.enable
Scala: vim.languages.scala.enable
Svelte: vim.languages.svelte.enable
Tailwind: vim.languages.tailwind.enable
Terraform: vim.languages.terraform.enable
Typst: vim.languages.typst.enable
Adding support for more languages, and improving support for existing ones are great places where you can contribute with a PR.
One of the strengths of nvf is convenient aliases to quickly configure LSP servers through the Nix module system. By default the LSP packages for relevant language modules will be pulled into the closure. If this is not desirable, you diff --git a/docs-preview-1072/options.html b/docs-preview-1072/options.html index 9338b96d..e534e951 100644 --- a/docs-preview-1072/options.html +++ b/docs-preview-1072/options.html @@ -24637,7 +24637,7 @@ attribute set of (submodule)
When false, or if the lua function returns false, this plugin will not be included in the spec
Type: -null or boolean or string
+null or boolean or (luaInline)Default:
null
vim.lsp.harper-ls.enable
+
+
+Whether to enable Harper grammar checking LSP.
+ +Type: +boolean
+ +Default:
+false
Example:
+true
Declared by:
+
+
+<nvf/modules/plugins/lsp/harper-ls/harper-ls.nix>
+
+ |
vim.lsp.harper-ls.settings
+
+
+Settings to pass to harper-ls
+ +Type: +attribute set of anything
+ +Default:
+{ }
Example:
{
+ codeActions = {
+ ForceStable = false;
+ };
+ diagnosticSeverity = "hint";
+ dialect = "American";
+ fileDictPath = "";
+ ignoredLintsPath = { };
+ isolateEnglish = false;
+ linters = {
+ BoringWords = true;
+ PossessiveNoun = true;
+ SentenceCapitalization = false;
+ SpellCheck = false;
+ };
+ markdown = {
+ IgnoreLinkTitle = false;
+ };
+ maxFileLength = 120000;
+ userDictPath = "";
+ workspaceDictPath = "";
+}
+
+
+Declared by:
+
+
+<nvf/modules/plugins/lsp/harper-ls/harper-ls.nix>
+
+ |
vim.lsp.inlayHints.enable