master #1

Open
oli wants to merge 912 commits from master into lua
Showing only changes of commit da4f4674a5 - Show all commits

View File

@@ -49,6 +49,7 @@ local on_attach = function(client, bufnr)
-- Symbols Outline -- Symbols Outline
buf_set_keymap('n', '<leader>s', '<cmd>SymbolsOutline<cr>', opts) buf_set_keymap('n', '<leader>s', '<cmd>SymbolsOutline<cr>', opts)
vim.cmd [[autocmd CursorHold <buffer> lua vim.diagnostic.open_float({focusable = false})]]
-- Set some keybinds conditional on server capabilities -- Set some keybinds conditional on server capabilities
if client.resolved_capabilities.document_formatting then if client.resolved_capabilities.document_formatting then
@@ -62,7 +63,6 @@ local on_attach = function(client, bufnr)
if client.resolved_capabilities.document_highlight then if client.resolved_capabilities.document_highlight then
vim.api.nvim_exec([[ vim.api.nvim_exec([[
hi LspReferenceRead cterm=bold ctermbg=red guibg=DarkGreen hi LspReferenceRead cterm=bold ctermbg=red guibg=DarkGreen
hi LspReferenceText cterm=bold ctermbg=Black guibg=DarkYellow guifg=Black
hi LspReferenceWrite cterm=bold ctermbg=red guibg=DarkRed hi LspReferenceWrite cterm=bold ctermbg=red guibg=DarkRed
augroup lsp_document_highlight augroup lsp_document_highlight
autocmd! * <buffer> autocmd! * <buffer>