|
|
@ -6,6 +6,7 @@ vim.opt.pumheight = 20
|
|
|
|
vim.opt.clipboard = ""
|
|
|
|
vim.opt.clipboard = ""
|
|
|
|
vim.opt.cmdheight = 1
|
|
|
|
vim.opt.cmdheight = 1
|
|
|
|
vim.opt.lazyredraw = true
|
|
|
|
vim.opt.lazyredraw = true
|
|
|
|
|
|
|
|
vim.opt.showtabline = 0
|
|
|
|
vim.opt.completeopt = [[menuone,noinsert,noselect]]
|
|
|
|
vim.opt.completeopt = [[menuone,noinsert,noselect]]
|
|
|
|
|
|
|
|
|
|
|
|
lvim.log.level = "warn"
|
|
|
|
lvim.log.level = "warn"
|
|
|
@ -37,8 +38,6 @@ lvim.keys.normal_mode["<M-j>"] = "<C-w>j"
|
|
|
|
lvim.keys.normal_mode["<M-k>"] = "<C-w>k"
|
|
|
|
lvim.keys.normal_mode["<M-k>"] = "<C-w>k"
|
|
|
|
lvim.keys.normal_mode["<M-l>"] = "<C-w>l"
|
|
|
|
lvim.keys.normal_mode["<M-l>"] = "<C-w>l"
|
|
|
|
lvim.keys.normal_mode["<M-h>"] = "<C-w>h"
|
|
|
|
lvim.keys.normal_mode["<M-h>"] = "<C-w>h"
|
|
|
|
lvim.keys.normal_mode["<S-l>"] = ":BufferLineCycleNext<CR>"
|
|
|
|
|
|
|
|
lvim.keys.normal_mode["<S-h>"] = ":BufferLineCyclePrev<CR>"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
-- telescope
|
|
|
|
-- telescope
|
|
|
|
local buffer_mappings = {
|
|
|
|
local buffer_mappings = {
|
|
|
@ -66,6 +65,7 @@ lvim.keys.normal_mode["<leader>ra"] = ":lua require('user.haskell').run_haskell(
|
|
|
|
lvim.builtin.which_key.mappings["s"] = nil
|
|
|
|
lvim.builtin.which_key.mappings["s"] = nil
|
|
|
|
lvim.builtin.which_key.mappings["f"] = {
|
|
|
|
lvim.builtin.which_key.mappings["f"] = {
|
|
|
|
name = "Find",
|
|
|
|
name = "Find",
|
|
|
|
|
|
|
|
b = { "<cmd>Telescope buffers<cr>", "Open Buffers" },
|
|
|
|
f = { "<cmd>Telescope find_files<cr>", "Find File" },
|
|
|
|
f = { "<cmd>Telescope find_files<cr>", "Find File" },
|
|
|
|
h = { "<cmd>Telescope help_tags<cr>", "Find Help" },
|
|
|
|
h = { "<cmd>Telescope help_tags<cr>", "Find Help" },
|
|
|
|
H = { "<cmd>Telescope highlights<cr>", "Find Highlights" },
|
|
|
|
H = { "<cmd>Telescope highlights<cr>", "Find Highlights" },
|
|
|
@ -200,6 +200,7 @@ lvim.builtin.project.active = true
|
|
|
|
lvim.builtin.alpha.active = true
|
|
|
|
lvim.builtin.alpha.active = true
|
|
|
|
lvim.builtin.alpha.mode = "dashboard"
|
|
|
|
lvim.builtin.alpha.mode = "dashboard"
|
|
|
|
lvim.builtin.notify.active = false
|
|
|
|
lvim.builtin.notify.active = false
|
|
|
|
|
|
|
|
lvim.builtin.bufferline.active = false
|
|
|
|
lvim.builtin.breadcrumbs.active = false
|
|
|
|
lvim.builtin.breadcrumbs.active = false
|
|
|
|
lvim.builtin.terminal.active = false
|
|
|
|
lvim.builtin.terminal.active = false
|
|
|
|
lvim.builtin.indentlines.active = false
|
|
|
|
lvim.builtin.indentlines.active = false
|
|
|
@ -209,60 +210,60 @@ lvim.builtin.treesitter.highlight.enable = true
|
|
|
|
lvim.builtin.nvimtree.setup.view.side = "left"
|
|
|
|
lvim.builtin.nvimtree.setup.view.side = "left"
|
|
|
|
lvim.builtin.nvimtree.setup.renderer.icons.show.git = true
|
|
|
|
lvim.builtin.nvimtree.setup.renderer.icons.show.git = true
|
|
|
|
|
|
|
|
|
|
|
|
lvim.builtin.bufferline.highlights = {
|
|
|
|
-- lvim.builtin.bufferline.highlights = {
|
|
|
|
background = {
|
|
|
|
-- background = {
|
|
|
|
italic = false,
|
|
|
|
-- italic = false,
|
|
|
|
},
|
|
|
|
-- },
|
|
|
|
buffer_selected = {
|
|
|
|
-- buffer_selected = {
|
|
|
|
italic = false,
|
|
|
|
-- italic = false,
|
|
|
|
bold = true,
|
|
|
|
-- bold = true,
|
|
|
|
},
|
|
|
|
-- },
|
|
|
|
diagnostic_selected = {
|
|
|
|
-- diagnostic_selected = {
|
|
|
|
italic = false
|
|
|
|
-- italic = false
|
|
|
|
},
|
|
|
|
-- },
|
|
|
|
hint_selected = {
|
|
|
|
-- hint_selected = {
|
|
|
|
italic = false
|
|
|
|
-- italic = false
|
|
|
|
},
|
|
|
|
-- },
|
|
|
|
hint_diagnostic_selected = {
|
|
|
|
-- hint_diagnostic_selected = {
|
|
|
|
italic = false
|
|
|
|
-- italic = false
|
|
|
|
},
|
|
|
|
-- },
|
|
|
|
info_selected = {
|
|
|
|
-- info_selected = {
|
|
|
|
italic = false
|
|
|
|
-- italic = false
|
|
|
|
},
|
|
|
|
-- },
|
|
|
|
info_diagnostic_selected = {
|
|
|
|
-- info_diagnostic_selected = {
|
|
|
|
italic = false
|
|
|
|
-- italic = false
|
|
|
|
},
|
|
|
|
-- },
|
|
|
|
warning_selected = {
|
|
|
|
-- warning_selected = {
|
|
|
|
italic = false
|
|
|
|
-- italic = false
|
|
|
|
},
|
|
|
|
-- },
|
|
|
|
warning_diagnostic_selected = {
|
|
|
|
-- warning_diagnostic_selected = {
|
|
|
|
italic = false
|
|
|
|
-- italic = false
|
|
|
|
},
|
|
|
|
-- },
|
|
|
|
error_selected = {
|
|
|
|
-- error_selected = {
|
|
|
|
italic = false
|
|
|
|
-- italic = false
|
|
|
|
},
|
|
|
|
-- },
|
|
|
|
error_diagnostic_selected = {
|
|
|
|
-- error_diagnostic_selected = {
|
|
|
|
italic = false
|
|
|
|
-- italic = false
|
|
|
|
},
|
|
|
|
-- },
|
|
|
|
duplicate_selected = {
|
|
|
|
-- duplicate_selected = {
|
|
|
|
italic = false
|
|
|
|
-- italic = false
|
|
|
|
},
|
|
|
|
-- },
|
|
|
|
duplicate_visible = {
|
|
|
|
-- duplicate_visible = {
|
|
|
|
italic = false
|
|
|
|
-- italic = false
|
|
|
|
},
|
|
|
|
-- },
|
|
|
|
duplicate = {
|
|
|
|
-- duplicate = {
|
|
|
|
italic = false
|
|
|
|
-- italic = false
|
|
|
|
},
|
|
|
|
-- },
|
|
|
|
pick_selected = {
|
|
|
|
-- pick_selected = {
|
|
|
|
italic = false
|
|
|
|
-- italic = false
|
|
|
|
},
|
|
|
|
-- },
|
|
|
|
pick_visible = {
|
|
|
|
-- pick_visible = {
|
|
|
|
italic = false
|
|
|
|
-- italic = false
|
|
|
|
},
|
|
|
|
-- },
|
|
|
|
pick = {
|
|
|
|
-- pick = {
|
|
|
|
italic = false
|
|
|
|
-- italic = false
|
|
|
|
},
|
|
|
|
-- },
|
|
|
|
}
|
|
|
|
-- }
|
|
|
|
|
|
|
|
|
|
|
|
-- if you don't want all the parsers change this to a table of the ones you want
|
|
|
|
-- if you don't want all the parsers change this to a table of the ones you want
|
|
|
|
lvim.builtin.treesitter.ensure_installed = {
|
|
|
|
lvim.builtin.treesitter.ensure_installed = {
|
|
|
@ -403,6 +404,7 @@ lvim.plugins = {
|
|
|
|
},
|
|
|
|
},
|
|
|
|
integrations = {
|
|
|
|
integrations = {
|
|
|
|
ts_rainbow = true,
|
|
|
|
ts_rainbow = true,
|
|
|
|
|
|
|
|
bufferline = true,
|
|
|
|
native_lsp = {
|
|
|
|
native_lsp = {
|
|
|
|
virtual_text = {
|
|
|
|
virtual_text = {
|
|
|
|
errors = {},
|
|
|
|
errors = {},
|
|
|
@ -446,6 +448,8 @@ lvim.plugins = {
|
|
|
|
TSStringEscape = { style = {} },
|
|
|
|
TSStringEscape = { style = {} },
|
|
|
|
["@namespace"] = { style = {} },
|
|
|
|
["@namespace"] = { style = {} },
|
|
|
|
["@parameter"] = { style = {} },
|
|
|
|
["@parameter"] = { style = {} },
|
|
|
|
|
|
|
|
["@text.uri"] = { style = {} },
|
|
|
|
|
|
|
|
["@text.literal"] = { style = {} },
|
|
|
|
|
|
|
|
|
|
|
|
FloatBorder = { fg = "#cdd6f4", bg = "#181825" }
|
|
|
|
FloatBorder = { fg = "#cdd6f4", bg = "#181825" }
|
|
|
|
},
|
|
|
|
},
|
|
|
|