diff options
author | Tom Praschan <[email protected]> | 2022-02-04 13:52:24 +0100 |
---|---|---|
committer | GitHub <[email protected]> | 2022-02-04 13:52:24 +0100 |
commit | d4fa5c4920659a88fc89c32029556e12b8556630 (patch) | |
tree | 2ea65e9a30fbf1c11f3983c7c65568fcce38e75e /lua | |
parent | 135f766246d8fc3d96620b1dd8c69f3ca4fd7f30 (diff) |
set wrap only for the startup buffer (#22)
Diffstat (limited to 'lua')
-rw-r--r-- | lua/startup/utils.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lua/startup/utils.lua b/lua/startup/utils.lua index fc3cabe..0ebde8e 100644 --- a/lua/startup/utils.lua +++ b/lua/startup/utils.lua @@ -510,7 +510,7 @@ function U.set_buf_options() local tab_line = vim.api.nvim_get_option("showtabline") set_buf_opt(0, "bufhidden", "wipe") set_buf_opt(0, "buftype", "nofile") - vim.cmd([[set wrap]]) + vim.cmd([[setlocal wrap]]) if settings.options.disable_statuslines then vim.opt.laststatus = 0 vim.opt.showtabline = 0 |