mirror of
https://github.com/nvim-lua/kickstart.nvim.git
synced 2025-07-04 11:04:26 +02:00
Merge branch 'nvim-lua:master' into master
This commit is contained in:
commit
cca5f86dfb
2 changed files with 58 additions and 26 deletions
9
init.lua
9
init.lua
|
@ -279,7 +279,7 @@ require('lazy').setup({
|
|||
-- set icon mappings to true if you have a Nerd Font
|
||||
mappings = vim.g.have_nerd_font,
|
||||
-- If you are using a Nerd Font: set icons.keys to an empty table which will use the
|
||||
-- default whick-key.nvim defined Nerd Font icons, otherwise define a string table
|
||||
-- default which-key.nvim defined Nerd Font icons, otherwise define a string table
|
||||
keys = vim.g.have_nerd_font and {} or {
|
||||
Up = '<Up> ',
|
||||
Down = '<Down> ',
|
||||
|
@ -598,11 +598,12 @@ require('lazy').setup({
|
|||
|
||||
-- Change diagnostic symbols in the sign column (gutter)
|
||||
-- if vim.g.have_nerd_font then
|
||||
-- local signs = { Error = '', Warn = '', Hint = '', Info = '' }
|
||||
-- local signs = { ERROR = '', WARN = '', INFO = '', HINT = '' }
|
||||
-- local diagnostic_signs = {}
|
||||
-- for type, icon in pairs(signs) do
|
||||
-- local hl = 'DiagnosticSign' .. type
|
||||
-- vim.fn.sign_define(hl, { text = icon, texthl = hl, numhl = hl })
|
||||
-- diagnostic_signs[vim.diagnostic.severity[type]] = icon
|
||||
-- end
|
||||
-- vim.diagnostic.config { signs = { text = diagnostic_signs } }
|
||||
-- end
|
||||
|
||||
-- LSP servers and clients are able to communicate to each other what features they support.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue