1
0
Fork 0

nvim: line break

This commit is contained in:
Vladimír Dudr 2023-04-18 01:06:53 +02:00
parent 335a187ba7
commit d425d3661b
2 changed files with 7 additions and 2 deletions

View file

@ -39,6 +39,11 @@ function M.setup()
vim.o.grepprg = 'rg --vimgrep --no-ignore --smart-case $*'
vim.o.grepformat = '%f:%l:%c:%m'
vim.o.linebreak = true
vim.o.breakindent = true
vim.o.breakindentopt = 'shift:4'
vim.o.showbreak = ''
local function set_winopts()
vim.o.cursorline = true
@ -58,7 +63,7 @@ function M.setup()
.. '%-7.(%3.l:%-3.(%c%V%)%) %P' -- ruler
if vim.fn.has('nvim-0.9') then
vim.o.statuscolumn = '%C%3l %s'
vim.o.statuscolumn = '%C%3l %=%s'
end
end
set_winopts()

View file

@ -188,7 +188,7 @@ local function config() -- {{{
local servers = {
-- {{{
powershell_es = {},
-- powershell_es = {},
gopls = {},
clangd = {},
zls = {},