This website requires JavaScript.
Explore
Help
Sign in
mirror
/
nix-community.nixvim
Watch
1
Star
0
Fork
You've already forked nix-community.nixvim
0
mirror of
https://github.com/nix-community/nixvim.git
synced
2025-06-21 08:35:43 +02:00
Code
Issues
Projects
Releases
Packages
Wiki
Activity
Actions
2
405a564f3d
nix-community.nixvim
/
tests
/
test-sources
/
modules
/
diagnostics.nix
9 lines
125 B
Nix
Raw
Normal View
History
Unescape
Escape
modules/diagnostics: add test
2024-06-21 15:39:45 +02:00
{
example
=
{
modules/diagnostic: rename `diagnostics` -> `diagnostic.config` Currently we represent `vim.diagnostic.config()` as a top-level `diagnostics` option. This means we have no clear namespace for (e.g.) `vim.diagnostic.<action>` keymap functions.
2025-04-26 19:26:21 +01:00
diagnostic
.
config
=
{
modules/diagnostics: add test
2024-06-21 15:39:45 +02:00
virtual_text
=
false
;
modules/diagnostics: fix `virtual_lines` example The setting is named `current_line`, not `only_current_line`. See https://neovim.io/doc/user/diagnostic.html#vim.diagnostic.Opts.VirtualLines
2025-04-24 16:05:36 -07:00
virtual_lines
.
current_line
=
true
;
modules/diagnostics: add test
2024-06-21 15:39:45 +02:00
}
;
}
;
}
Reference in a new issue
Copy permalink