mod(nvim): config cleanup

This commit is contained in:
Léana 江 2023-06-19 08:59:15 +02:00 committed by Léana 江
parent c627377228
commit be1ff51bce
7 changed files with 38 additions and 90 deletions

View file

@ -1,11 +0,0 @@
require "glow".setup {
glow_path = "glow", -- will be filled automatically with your glow bin in $PATH, if any
install_path = "~/.local/bin", -- default path for installing glow binary
border = "shadow", -- floating window border config
style = "light", -- filled automatically with your current editor background, you can override using glow json style
pager = false,
width = 80,
height = 100,
width_ratio = 0.7, -- maximum width of the Glow window compared to the nvim window size (overrides `width`)
height_ratio = 0.7,
}

View file

@ -1,3 +0,0 @@
local spectre = require "spectre"
vim.keymap.set("n", "<leader>ss", function() spectre.open() end, { desc = "search and replace" })

View file

@ -1,4 +0,0 @@
require "toggleterm".setup({
open_mapping = "<C-`>",
size = 20,
})

View file

@ -1,5 +0,0 @@
require "trailing-whitespace".setup {
patterns = { '\\s\\+$' },
palette = { markdown = '#CCCCCC' },
default_color = '#EEEEEE',
}

View file

@ -1,9 +1,9 @@
require("fidget").setup({
text = {
spinner = "dots",
-- done = "[Ok]",
},
})
-- require("fidget").setup({
-- text = {
-- spinner = "dots",
-- -- done = "[Ok]",
-- },
-- })
require("nvim-treesitter.configs").setup({
-- A list of parser names, or "all" (the four listed parsers should always be installed)