aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustin M. Keyes <justinkz@gmail.com>2023-06-05 02:19:05 -0700
committerGitHub <noreply@github.com>2023-06-05 02:19:05 -0700
commit21187e1c73e6887ce407164c98320555374387a9 (patch)
tree64a82a7930ce6f4a692b5a8fe1652889b1e03eb3
parenta3fba5cafcf124946ea65a68fc1b9dfbeb197525 (diff)
downloadrneovim-21187e1c73e6887ce407164c98320555374387a9.tar.gz
rneovim-21187e1c73e6887ce407164c98320555374387a9.tar.bz2
rneovim-21187e1c73e6887ce407164c98320555374387a9.zip
defaults: shortmess+=C #23907
Problem: Completion messages such as "scanning tags" are noisy and generally not useful on most systems. Most users probably aren't aware that this is configurable. Solution: Set `shortmess+=C`.
-rw-r--r--runtime/doc/news.txt13
-rw-r--r--runtime/doc/options.txt2
-rw-r--r--runtime/doc/vim_diff.txt2
-rw-r--r--src/nvim/options.lua2
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'
},
{