aboutsummaryrefslogtreecommitdiff
path: root/test/functional/options/shortmess_spec.lua
diff options
context:
space:
mode:
authorJustin M. Keyes <justinkz@gmail.com>2018-06-22 08:18:02 +0200
committerGitHub <noreply@github.com>2018-06-22 08:18:02 +0200
commitb7514493a0c4a4389a5921f15b0b429dae5c75e7 (patch)
tree625d39a763124fe284e24caaf4e1a1c52651893a /test/functional/options/shortmess_spec.lua
parentcf659a19260aea27816575d67a12139ebaada56f (diff)
downloadrneovim-b7514493a0c4a4389a5921f15b0b429dae5c75e7.tar.gz
rneovim-b7514493a0c4a4389a5921f15b0b429dae5c75e7.tar.bz2
rneovim-b7514493a0c4a4389a5921f15b0b429dae5c75e7.zip
defaults: shortmess+=F (#8619)
Because we default to laststatus=2 (statusline is always visible), the :edit message is not useful. ref #6289
Diffstat (limited to 'test/functional/options/shortmess_spec.lua')
-rw-r--r--test/functional/options/shortmess_spec.lua2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/functional/options/shortmess_spec.lua b/test/functional/options/shortmess_spec.lua
index 99a574ec46..96823476de 100644
--- a/test/functional/options/shortmess_spec.lua
+++ b/test/functional/options/shortmess_spec.lua
@@ -1,5 +1,6 @@
local helpers = require('test.functional.helpers')(after_each)
local Screen = require('test.functional.ui.screen')
+local command = helpers.command
local clear, feed_command = helpers.clear, helpers.feed_command
if helpers.pending_win32(pending) then return end
@@ -19,6 +20,7 @@ describe("'shortmess'", function()
describe('"F" flag', function()
it('hides messages about the files read', function()
+ command("set shortmess-=F")
feed_command('e test')
screen:expect([[
^ |