fix some errors on first launch
This commit is contained in:
parent
a58bc415f4
commit
1dd505130e
1 changed files with 6 additions and 1 deletions
|
@ -1,7 +1,12 @@
|
||||||
local M = {}
|
local M = {}
|
||||||
|
|
||||||
local navic = require("nvim-navic")
|
local navic = require("nvim-navic")
|
||||||
local gps = require("nvim-gps")
|
|
||||||
|
local present, gps = pcall(require, "nvim-gps")
|
||||||
|
|
||||||
|
if not present then
|
||||||
|
return
|
||||||
|
end
|
||||||
|
|
||||||
gps.setup()
|
gps.setup()
|
||||||
navic.setup({
|
navic.setup({
|
||||||
|
|
Reference in a new issue