Change back to a working config #1
7
init.lua
7
init.lua
@@ -92,7 +92,12 @@ vim.api.nvim_create_autocmd("VimEnter", {
|
|||||||
lualine_a = { "mode" },
|
lualine_a = { "mode" },
|
||||||
lualine_b = { "branch" },
|
lualine_b = { "branch" },
|
||||||
lualine_c = { { "filename", file_status = true, path = 1 } },
|
lualine_c = { { "filename", file_status = true, path = 1 } },
|
||||||
lualine_x = { "encoding", "fileformat", "filetype" },
|
lualine_x = {
|
||||||
|
"encoding", "fileformat", "filetype",
|
||||||
|
require("noice").api.statusline.mode.get,
|
||||||
|
cond = require("noice").api.statusline.mode.has,
|
||||||
|
color = { fg = "#ff9e64" },
|
||||||
|
},
|
||||||
lualine_y = { "progress" },
|
lualine_y = { "progress" },
|
||||||
lualine_z = { "location" },
|
lualine_z = { "location" },
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -125,20 +125,20 @@ require('goto-preview').setup({ default_mappings = true })
|
|||||||
require('telescope').setup({})
|
require('telescope').setup({})
|
||||||
require('nvim-devdocs').setup({})
|
require('nvim-devdocs').setup({})
|
||||||
require('noice').setup({
|
require('noice').setup({
|
||||||
lsp = {
|
lsp = {
|
||||||
override = {
|
override = {
|
||||||
["vim.lsp.util.convert_input_to_markdown_lines"] = true,
|
["vim.lsp.util.convert_input_to_markdown_lines"] = true,
|
||||||
["vim.lsp.util.stylize_markdown"] = true,
|
["vim.lsp.util.stylize_markdown"] = true,
|
||||||
["cmp.entry.get_documentation"] = true, -- requires hrsh7th/nvim-cmp
|
["cmp.entry.get_documentation"] = true, -- requires hrsh7th/nvim-cmp
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
presets = {
|
presets = {
|
||||||
bottom_search = true, -- use a classic bottom cmdline for search
|
bottom_search = true, -- use a classic bottom cmdline for search
|
||||||
command_palette = true, -- position the cmdline and popupmenu together
|
command_palette = true, -- position the cmdline and popupmenu together
|
||||||
long_message_to_split = true, -- long messages will be sent to a split
|
long_message_to_split = true, -- long messages will be sent to a split
|
||||||
inc_rename = false, -- enables an input dialog for inc-rename.nvim
|
inc_rename = false, -- enables an input dialog for inc-rename.nvim
|
||||||
lsp_doc_border = false, -- add a border to hover docs and signature help
|
lsp_doc_border = false, -- add a border to hover docs and signature help
|
||||||
},
|
},
|
||||||
routes = {
|
routes = {
|
||||||
view = "notify",
|
view = "notify",
|
||||||
filter = { event = "msg_showmode" },
|
filter = { event = "msg_showmode" },
|
||||||
|
|||||||
Reference in New Issue
Block a user