diff --git a/colors/lunaperche-sl.vim b/colors/lunaperche-sl.vim new file mode 100644 index 0000000..161d5bf --- /dev/null +++ b/colors/lunaperche-sl.vim @@ -0,0 +1,4 @@ +runtime colors/lunaperche.vim + +" fix VertSplit for lunaperche +hi VertSplit guifg=#aaaaaa diff --git a/lua/colorscheme.lua b/lua/colorscheme.lua index 8eb140d..7b2edd9 100644 --- a/lua/colorscheme.lua +++ b/lua/colorscheme.lua @@ -1,5 +1,5 @@ -- define your colorscheme here -local colorscheme = 'lunaperche' +local colorscheme = 'lunaperche-sl' local is_ok, _ = pcall(vim.cmd, "colorscheme " .. colorscheme) if not is_ok then diff --git a/lua/plugins.lua b/lua/plugins.lua index e18dda2..3668b6f 100644 --- a/lua/plugins.lua +++ b/lua/plugins.lua @@ -94,7 +94,7 @@ require("lazy").setup({ action = function(exporter) local current_file = vim.api.nvim_buf_get_name(0) local target = vim.fn.fnamemodify(current_file, ':p:r') .. '.html' - local command = { 'pandoc', '--filter', 'pandoc-plot', current_file, '--standalone', '--output', target } + local command = { 'pandoc', '--filter', 'pandoc-plot', current_file, '--standalone', '--toc', '--number-sections', '--output', target } local on_success = function(output) print('Success!') vim.api.nvim_echo({ { table.concat(output, '\n') } }, true, {}) @@ -142,8 +142,11 @@ require("lazy").setup({ -- your configuration comes here -- or leave it empty to use the default settings -- refer to the configuration section below - preset = 'helix', - expand = 4, + -- preset = 'helix', + -- preset = 'classic', + -- preset = 'modern', + preset = false, + expand = 3, keys = { scroll_down = "", -- binding to scroll down inside the popup scroll_up = "", -- binding to scroll up inside the popup @@ -154,6 +157,23 @@ require("lazy").setup({ g = true, } }, + win = { + -- no_overlap = false, + height = { min = 4 }, + -- height = { min = 4, max = math.huge }, + width = { min = 25, max = 120 }, + -- title = true, + -- title_pos = "center", + -- border = "rounded", + col = -1, + row = -1, + padding = { 1, 3 }, + }, + layout = { + spacing = 2, + -- width = { min = math.huge }, + width = { min = 20 }, + }, }, keys = { {