mirror of
https://codeberg.org/leana8959/.files.git
synced 2025-12-06 14:49:14 +00:00
mod(nvim): config cleanup
This commit is contained in:
parent
c627377228
commit
be1ff51bce
7 changed files with 38 additions and 90 deletions
|
|
@ -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,
|
||||
}
|
||||
|
|
@ -1,3 +0,0 @@
|
|||
local spectre = require "spectre"
|
||||
|
||||
vim.keymap.set("n", "<leader>ss", function() spectre.open() end, { desc = "search and replace" })
|
||||
|
|
@ -1,4 +0,0 @@
|
|||
require "toggleterm".setup({
|
||||
open_mapping = "<C-`>",
|
||||
size = 20,
|
||||
})
|
||||
|
|
@ -1,5 +0,0 @@
|
|||
require "trailing-whitespace".setup {
|
||||
patterns = { '\\s\\+$' },
|
||||
palette = { markdown = '#CCCCCC' },
|
||||
default_color = '#EEEEEE',
|
||||
}
|
||||
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue