mirror of
https://github.com/itme-brain/nixos.git
synced 2026-03-23 16:29:42 -04:00
changed
This commit is contained in:
parent
6046acb322
commit
a66fac87e6
2 changed files with 4 additions and 7 deletions
|
|
@ -26,7 +26,6 @@
|
|||
end
|
||||
dofile(vim.fn.stdpath('config') .. '/plugins.lua')
|
||||
|
||||
|
||||
-- Treesitter Enable
|
||||
require'nvim-treesitter.configs'.setup {
|
||||
highlight = {
|
||||
|
|
@ -38,6 +37,10 @@
|
|||
local function on_attach(client, bufnr)
|
||||
client.server_capabilities.document_formatting = false
|
||||
require('lsp_signature').on_attach()
|
||||
local function set_completeopt()
|
||||
vim.api.nvim_buf_set_option(bufnr, 'completeopt', 'menuone,noselect')
|
||||
end
|
||||
set_completeopt()
|
||||
end
|
||||
|
||||
require('lazy-lsp').setup {
|
||||
|
|
|
|||
|
|
@ -85,12 +85,6 @@ return packer.startup(function(use)
|
|||
}
|
||||
}
|
||||
|
||||
-- nvim breadcrumbs
|
||||
use {
|
||||
"SmiteshP/nvim-navic",
|
||||
requires = "neovim/nvim-lspconfig"
|
||||
}
|
||||
|
||||
-- LSP Config
|
||||
use 'neovim/nvim-lspconfig'
|
||||
use { 'dundalek/lazy-lsp.nvim',
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue