Formatting
This commit is contained in:
parent
e3b55ba5dc
commit
f48fa6ae87
|
@ -190,9 +190,12 @@ require('lazy').setup({
|
||||||
|
|
||||||
|
|
||||||
-- Fuzzy Finder (files, lsp, etc)
|
-- Fuzzy Finder (files, lsp, etc)
|
||||||
{ 'nvim-telescope/telescope.nvim', version = '*',
|
{
|
||||||
|
'nvim-telescope/telescope.nvim',
|
||||||
|
version = '*',
|
||||||
dependencies = { 'nvim-lua/plenary.nvim',
|
dependencies = { 'nvim-lua/plenary.nvim',
|
||||||
'nvim-telescope/telescope-ui-select.nvim' } },
|
'nvim-telescope/telescope-ui-select.nvim' }
|
||||||
|
},
|
||||||
|
|
||||||
-- Fuzzy Finder Algorithm which requires local dependencies to be built.
|
-- Fuzzy Finder Algorithm which requires local dependencies to be built.
|
||||||
-- Only load if `make` is available. Make sure you have the system
|
-- Only load if `make` is available. Make sure you have the system
|
||||||
|
@ -362,12 +365,12 @@ require('nvim-treesitter.configs').setup {
|
||||||
|
|
||||||
vim.lsp.handlers['textDocument/hover'] = vim.lsp.with(
|
vim.lsp.handlers['textDocument/hover'] = vim.lsp.with(
|
||||||
vim.lsp.handlers.hover,
|
vim.lsp.handlers.hover,
|
||||||
{border = border}
|
{ border = border }
|
||||||
)
|
)
|
||||||
|
|
||||||
vim.lsp.handlers['textDocument/signatureHelp'] = vim.lsp.with(
|
vim.lsp.handlers['textDocument/signatureHelp'] = vim.lsp.with(
|
||||||
vim.lsp.handlers.hover,
|
vim.lsp.handlers.hover,
|
||||||
{border = border}
|
{ border = border }
|
||||||
)
|
)
|
||||||
|
|
||||||
vim.diagnostic.config {
|
vim.diagnostic.config {
|
||||||
|
@ -377,8 +380,12 @@ vim.diagnostic.config {
|
||||||
}
|
}
|
||||||
|
|
||||||
-- Set the diagnostic symbols (Also used by Neo-tree)
|
-- Set the diagnostic symbols (Also used by Neo-tree)
|
||||||
local signs = { Error = symbols.diagnostic.error, Warn = symbols.diagnostic.warning, Hint = symbols.diagnostic.hint,
|
local signs = {
|
||||||
Info = symbols.diagnostic.info }
|
Error = symbols.diagnostic.error,
|
||||||
|
Warn = symbols.diagnostic.warning,
|
||||||
|
Hint = symbols.diagnostic.hint,
|
||||||
|
Info = symbols.diagnostic.info
|
||||||
|
}
|
||||||
for type, icon in pairs(signs) do
|
for type, icon in pairs(signs) do
|
||||||
local hl = "DiagnosticSign" .. type
|
local hl = "DiagnosticSign" .. type
|
||||||
vim.fn.sign_define(hl, { text = icon, texthl = hl, numhl = hl })
|
vim.fn.sign_define(hl, { text = icon, texthl = hl, numhl = hl })
|
||||||
|
|
Loading…
Reference in New Issue
Block a user