nvim: unscrew Trouble after update
switch to nerd font too
This commit is contained in:
parent
f403f785d3
commit
94dc8003aa
1
programs
1
programs
@ -2,6 +2,7 @@
|
|||||||
# essentials
|
# essentials
|
||||||
#
|
#
|
||||||
ttf-jetbrains-mono
|
ttf-jetbrains-mono
|
||||||
|
ttf-jetbrains-mono-nerd
|
||||||
wqy-microhei
|
wqy-microhei
|
||||||
ttf-roboto
|
ttf-roboto
|
||||||
inter-font
|
inter-font
|
||||||
|
@ -3,7 +3,7 @@ padding = { x = 8, y = 8 }
|
|||||||
opacity = 0.0
|
opacity = 0.0
|
||||||
|
|
||||||
[font]
|
[font]
|
||||||
normal = { family = "JetBrains Mono" }
|
normal = { family = "JetBrainsMono NF" }
|
||||||
size = 10
|
size = 10
|
||||||
[colors]
|
[colors]
|
||||||
[colors.primary]
|
[colors.primary]
|
||||||
|
@ -102,25 +102,11 @@ require("nvim-treesitter.configs").setup {
|
|||||||
------
|
------
|
||||||
vim.cmd.packadd("trouble.nvim")
|
vim.cmd.packadd("trouble.nvim")
|
||||||
require('trouble').setup({
|
require('trouble').setup({
|
||||||
icons = false,
|
auto_preview = false,
|
||||||
fold_open = "v", -- icon used for open folds
|
-- default config available at https://github.com/folke/trouble.nvim
|
||||||
fold_closed = ">", -- icon used for closed folds
|
|
||||||
indent_lines = false, -- add an indent guide below the fold icons
|
|
||||||
signs = {
|
|
||||||
-- icons / text used for a diagnostic
|
|
||||||
error = "error",
|
|
||||||
warning = "warn",
|
|
||||||
hint = "hint",
|
|
||||||
information = "info"
|
|
||||||
},
|
|
||||||
use_diagnostic_signs = false -- enabling this will use the signs defined in your lsp client
|
|
||||||
})
|
})
|
||||||
keymap("<leader>dxx", "<cmd>TroubleToggle<cr>")
|
keymap("<leader>dxx", "<cmd>Trouble diagnostics toggle<cr>")
|
||||||
keymap("<leader>dxw", "<cmd>TroubleToggle workspace_diagnostics<cr>")
|
keymap("gR", "<cmd>Trouble lsp_references toggle<cr>")
|
||||||
keymap("<leader>dxd", "<cmd>TroubleToggle document_diagnostics<cr>")
|
|
||||||
keymap("<leader>dxq", "<cmd>TroubleToggle quickfix<cr>")
|
|
||||||
keymap("<leader>dxl", "<cmd>TroubleToggle loclist<cr>")
|
|
||||||
keymap("gR", "<cmd>TroubleToggle lsp_references<cr>")
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
--------------------------------
|
--------------------------------
|
||||||
--------------------------------
|
--------------------------------
|
||||||
|
|
||||||
vim.o.guifont = "JetBrains Mono:h10"
|
vim.o.guifont = "JetBrainsMono NF:h10"
|
||||||
|
|
||||||
if vim.g.neovide then
|
if vim.g.neovide then
|
||||||
local confutil = require("confutil")
|
local confutil = require("confutil")
|
||||||
|
Loading…
Reference in New Issue
Block a user