Compare commits
No commits in common. "8e7a85b21a985d560141529ba36be7d3add00e3d" and "04dacde02870aba89e299a86e0cf404d2b0bf833" have entirely different histories.
8e7a85b21a
...
04dacde028
|
@ -145,34 +145,6 @@ vim.o.foldcolumn = "1" -- '0' is not bad
|
||||||
vim.o.foldlevel = 99 -- Using ufo provider need a large value, feel free to decrease the value
|
vim.o.foldlevel = 99 -- Using ufo provider need a large value, feel free to decrease the value
|
||||||
vim.o.foldlevelstart = 99
|
vim.o.foldlevelstart = 99
|
||||||
vim.o.foldenable = true
|
vim.o.foldenable = true
|
||||||
vim.o.fillchars = [[eob: ,fold: ,foldopen:,foldsep: ,foldclose:]]
|
|
||||||
vim.o.statuscolumn = "%= "
|
|
||||||
-- FIXME: figure out how to put on the other side without having to do a lot of shifting
|
|
||||||
.. "%s" -- sign column
|
|
||||||
.. "%{%" -- evaluate this, and then evaluate what it returns
|
|
||||||
.. "&number ?"
|
|
||||||
.. "(v:relnum ?"
|
|
||||||
-- when showing relative numbers, make sure to pad so things don't shift as you move the cursor
|
|
||||||
.. 'printf("%"..len(line("$")).."s", v:relnum)'
|
|
||||||
.. ":"
|
|
||||||
.. "v:lnum"
|
|
||||||
.. ")"
|
|
||||||
.. ":"
|
|
||||||
.. '""'
|
|
||||||
.. " " -- space between lines and fold
|
|
||||||
.. "%}"
|
|
||||||
.. "%= "
|
|
||||||
.. "%#FoldColumn#" -- highlight group for fold
|
|
||||||
.. "%{" -- expression for showing fold expand/colapse
|
|
||||||
.. "foldlevel(v:lnum) > foldlevel(v:lnum - 1)" -- any folds?
|
|
||||||
.. "? (foldclosed(v:lnum) == -1" -- currently open?
|
|
||||||
.. '? ""' -- point down
|
|
||||||
.. ': ""' -- point to right
|
|
||||||
.. ")"
|
|
||||||
.. ': " "' -- blank for no fold, or inside fold
|
|
||||||
.. "}"
|
|
||||||
.. "%= " -- spacing between end of column and start of text
|
|
||||||
|
|
||||||
-- Using ufo provider need remap `zR` and `zM`. If Neovim is 0.6.1, remap yourself
|
-- Using ufo provider need remap `zR` and `zM`. If Neovim is 0.6.1, remap yourself
|
||||||
wk.register({
|
wk.register({
|
||||||
z = {
|
z = {
|
||||||
|
@ -192,13 +164,6 @@ require("lspsaga").setup({
|
||||||
symbol_in_winbar = {
|
symbol_in_winbar = {
|
||||||
enable = false,
|
enable = false,
|
||||||
},
|
},
|
||||||
lightbulb = {
|
|
||||||
enable = true,
|
|
||||||
enable_in_insert = true,
|
|
||||||
sign = true,
|
|
||||||
sign_priority = 40,
|
|
||||||
virtual_text = false,
|
|
||||||
},
|
|
||||||
})
|
})
|
||||||
|
|
||||||
local lspconfig = require("lspconfig")
|
local lspconfig = require("lspconfig")
|
||||||
|
|
Loading…
Reference in New Issue