diff options
-rw-r--r-- | runtime/doc/news.txt | 13 | ||||
-rw-r--r-- | runtime/doc/options.txt | 2 | ||||
-rw-r--r-- | runtime/doc/vim_diff.txt | 2 | ||||
-rw-r--r-- | src/nvim/options.lua | 2 |
4 files changed, 10 insertions, 9 deletions
diff --git a/runtime/doc/news.txt b/runtime/doc/news.txt index e42be43461..8fe01c4dfb 100644 --- a/runtime/doc/news.txt +++ b/runtime/doc/news.txt @@ -61,12 +61,6 @@ The following new APIs or features were added. • Added |vim.keycode()| for translating keycodes in a string. -• Added automatic linting of treesitter query files (see |ft-query-plugin|). - Automatic linting can be turned off via >lua - vim.g.query_lint_on = {} -< -• Enabled treesitter highlighting for treesitter query files by default. - • Added |vim.treesitter.query.omnifunc()| for treesitter query files (set by default). @@ -96,6 +90,13 @@ The following changes to existing APIs or features add new behavior. • vim.diagnostic.config() now accepts a function for the virtual_text.prefix option, which allows for rendering e.g., diagnostic severities differently. +• Defaults: + • 'shortmess' includes the "C" flag. + • Automatic linting of treesitter query files (see |ft-query-plugin|). + Can be disabled via: >lua + vim.g.query_lint_on = {} +< • Enabled treesitter highlighting for treesitter query files. + • The `workspace/didChangeWatchedFiles` LSP client capability is now enabled by default. diff --git a/runtime/doc/options.txt b/runtime/doc/options.txt index 72463af418..4f5f2e8b80 100644 --- a/runtime/doc/options.txt +++ b/runtime/doc/options.txt @@ -5393,7 +5393,7 @@ A jump table for the options with a short description can be found at |Q_op|. function to get the effective shiftwidth value. *'shortmess'* *'shm'* -'shortmess' 'shm' string (default "filnxtToOF") +'shortmess' 'shm' string (default "filnxtToOCF") global This option helps to avoid all the |hit-enter| prompts caused by file messages, for example with CTRL-G, and to avoid some other messages. diff --git a/runtime/doc/vim_diff.txt b/runtime/doc/vim_diff.txt index 58f6d6f6f9..102f867fbd 100644 --- a/runtime/doc/vim_diff.txt +++ b/runtime/doc/vim_diff.txt @@ -57,7 +57,7 @@ Defaults *nvim-defaults* - 'nrformats' defaults to "bin,hex" - 'ruler' is enabled - 'sessionoptions' includes "unix,slash", excludes "options" -- 'shortmess' includes "F", excludes "S" +- 'shortmess' includes "CF", excludes "S" - 'showcmd' is enabled - 'sidescroll' defaults to 1 - 'smarttab' is enabled diff --git a/src/nvim/options.lua b/src/nvim/options.lua index c4a85969c0..2d6b049a48 100644 --- a/src/nvim/options.lua +++ b/src/nvim/options.lua @@ -2233,7 +2233,7 @@ return { short_desc=N_("list of flags, reduce length of messages"), type='string', list='flags', scope={'global'}, varname='p_shm', - defaults={if_true="filnxtToOF"}, + defaults={if_true="filnxtToOCF"}, cb='did_set_shortmess' }, { |