Browse Source

Moved Saga to near the LSP

master
Julio Biason 2 years ago
parent
commit
26025ce73b
  1. 20
      nvim/init.lua

20
nvim/init.lua

@ -24,16 +24,6 @@ vim.api.nvim_set_keymap('n', '-', ':Ex<CR>', { noremap=true, silent=true })
-- Rainbow braket configuration
vim.g['rainbow_active'] = true
-- lsp saga improves the display of LSP information
local saga = require('lspsaga')
saga.init_lsp_saga {
error_sign = '>',
warn_sign = '#',
hint_sign = '!',
infor_sign = '?',
border_style = "round",
}
-- lsp configuration
local nvim_lsp = require('lspconfig')
local on_attach = function(client, bufnr)
@ -65,6 +55,16 @@ nvim_lsp.pyright.setup {
on_attach = on_attach
}
-- lsp saga improves the display of LSP information
local saga = require('lspsaga')
saga.init_lsp_saga {
error_sign = '>',
warn_sign = '#',
hint_sign = '!',
infor_sign = '?',
border_style = "round",
}
-- treesitter
require 'nvim-treesitter.configs'.setup {
ensure_installed = 'maintained',

Loading…
Cancel
Save