mirror of
https://github.com/itme-brain/nixos.git
synced 2026-03-24 00:29:43 -04:00
Added breadcrumbs
This commit is contained in:
parent
703f6c0e00
commit
67c17fe36d
2 changed files with 8 additions and 0 deletions
|
|
@ -39,8 +39,10 @@
|
||||||
|
|
||||||
-- Load LSP's
|
-- Load LSP's
|
||||||
local nvim_lsp = require('lspconfig')
|
local nvim_lsp = require('lspconfig')
|
||||||
|
local navic = require('navic')
|
||||||
|
|
||||||
local function on_attach(client, bufnr)
|
local function on_attach(client, bufnr)
|
||||||
|
navic.on_attach(client)
|
||||||
client.server_capabilities.document_formatting = false
|
client.server_capabilities.document_formatting = false
|
||||||
require('lsp_signature').on_attach()
|
require('lsp_signature').on_attach()
|
||||||
end
|
end
|
||||||
|
|
|
||||||
|
|
@ -85,6 +85,12 @@ return packer.startup(function(use)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
-- nvim breadcrumbs
|
||||||
|
use {
|
||||||
|
"SmiteshP/nvim-navic",
|
||||||
|
requires = "neovim/nvim-lspconfig"
|
||||||
|
}
|
||||||
|
|
||||||
-- LSP Config
|
-- LSP Config
|
||||||
use 'neovim/nvim-lspconfig'
|
use 'neovim/nvim-lspconfig'
|
||||||
use 'kabouzeid/nvim-lspinstall'
|
use 'kabouzeid/nvim-lspinstall'
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue