diff options
author | dundargoc <33953936+dundargoc@users.noreply.github.com> | 2024-02-06 12:30:02 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-02-06 19:30:02 +0800 |
commit | 63b810c9d8543bfcbee0367554e97cb97d1c14e6 (patch) | |
tree | 9cc25c042a40422ba133384c1b55dad5201cf253 /runtime | |
parent | 9a761019da05fbdb546f6e81e294612be217ca12 (diff) | |
download | rneovim-63b810c9d8543bfcbee0367554e97cb97d1c14e6.tar.gz rneovim-63b810c9d8543bfcbee0367554e97cb97d1c14e6.tar.bz2 rneovim-63b810c9d8543bfcbee0367554e97cb97d1c14e6.zip |
docs: small fixes (#27213)
Co-authored-by: Matthieu Coudron <886074+teto@users.noreply.github.com>
Diffstat (limited to 'runtime')
-rw-r--r-- | runtime/doc/news.txt | 9 | ||||
-rw-r--r-- | runtime/lua/vim/diagnostic.lua | 2 | ||||
-rw-r--r-- | runtime/lua/vim/uri.lua | 12 |
3 files changed, 11 insertions, 12 deletions
diff --git a/runtime/doc/news.txt b/runtime/doc/news.txt index c1fc04d9cf..3dc85eddbb 100644 --- a/runtime/doc/news.txt +++ b/runtime/doc/news.txt @@ -104,10 +104,10 @@ The following changes may require adaptations in user config or plugins. • |hl-WinSeparator| is linked to |hl-Normal| instead of |hl-VertSplit|. This also might result into some color schemes looking differently due to - them relying on an implicit assumptions about how highlight groups are - defined by default. To account for this, define all attributes of highlight - groups explicitly. Alternatively, use `:colorscheme vim` or - `:source $VIMRUNTIME/colors/vim.lua` to restore previous definitions. + them relying on implicit assumptions about how highlight groups are defined + by default. To account for this, define all attributes of highlight groups + explicitly. Alternatively, use `:colorscheme vim` or `:source + $VIMRUNTIME/colors/vim.lua` to restore previous definitions. • 'termguicolors' is enabled by default when Nvim is able to determine that the host terminal emulator supports 24-bit color. @@ -125,7 +125,6 @@ unreleased features on Nvim HEAD. • Removed `vim.treesitter.foldtext` as transparent foldtext is now supported https://github.com/neovim/neovim/pull/20750 -• ... ============================================================================== NEW FEATURES *news-features* diff --git a/runtime/lua/vim/diagnostic.lua b/runtime/lua/vim/diagnostic.lua index a3a2422ab5..ec465f4780 100644 --- a/runtime/lua/vim/diagnostic.lua +++ b/runtime/lua/vim/diagnostic.lua @@ -1023,7 +1023,7 @@ end --- @class vim.diagnostic.GotoOpts : vim.diagnostic.GetOpts --- @field cursor_position? {[1]:integer,[2]:integer} ---- @field wrap? integer +--- @field wrap? boolean --- @field float? boolean|vim.diagnostic.Opts.Float --- @field win_id? integer diff --git a/runtime/lua/vim/uri.lua b/runtime/lua/vim/uri.lua index 2dc817c5c1..038aa8acfb 100644 --- a/runtime/lua/vim/uri.lua +++ b/runtime/lua/vim/uri.lua @@ -10,14 +10,14 @@ local tohex = require('bit').tohex local URI_SCHEME_PATTERN = '^([a-zA-Z]+[a-zA-Z0-9.+-]*):.*' local WINDOWS_URI_SCHEME_PATTERN = '^([a-zA-Z]+[a-zA-Z0-9.+-]*):[a-zA-Z]:.*' local PATTERNS = { - ---RFC 2396 - ---https://tools.ietf.org/html/rfc2396#section-2.2 + -- RFC 2396 + -- https://tools.ietf.org/html/rfc2396#section-2.2 rfc2396 = "^A-Za-z0-9%-_.!~*'()", - ---RFC 2732 - ---https://tools.ietf.org/html/rfc2732 + -- RFC 2732 + -- https://tools.ietf.org/html/rfc2732 rfc2732 = "^A-Za-z0-9%-_.!~*'()[]", - ---RFC 3986 - ---https://tools.ietf.org/html/rfc3986#section-2.2 + -- RFC 3986 + -- https://tools.ietf.org/html/rfc3986#section-2.2 rfc3986 = "^A-Za-z0-9%-._~!$&'()*+,;=:@/", } |