astro-nvim-v3 - change: turn off declare symbols basedpyright
This commit is contained in:
6
init.lua
6
init.lua
@@ -1,6 +1,7 @@
|
||||
-- This file simply bootstraps the installation of Lazy.nvim and then calls other files for execution
|
||||
-- This file doesn't necessarily need to be touched, BE CAUTIOUS editing this file and proceed at your own risk.
|
||||
local lazypath = vim.env.LAZY or vim.fn.stdpath("data") .. "/lazy/lazy.nvim"
|
||||
|
||||
if not (vim.env.LAZY or (vim.uv or vim.loop).fs_stat(lazypath)) then
|
||||
-- stylua: ignore
|
||||
vim.fn.system({ "git", "clone", "--filter=blob:none", "https://github.com/folke/lazy.nvim.git", "--branch=stable",
|
||||
@@ -12,16 +13,17 @@ vim.opt.rtp:prepend(lazypath)
|
||||
if not pcall(require, "lazy") then
|
||||
-- stylua: ignore
|
||||
vim.api.nvim_echo(
|
||||
{ { ("Unable to load lazy from: %s\n"):format(lazypath), "ErrorMsg" }, { "Press any key to exit...", "MoreMs" } }, true,
|
||||
{ { ("Unable to load lazy from: %s\n"):format(lazypath), "ErrorMsg" }, { "Press any key to exit...", "MoreMs" } },
|
||||
true,
|
||||
{})
|
||||
vim.fn.getchar()
|
||||
vim.cmd.quit()
|
||||
end
|
||||
|
||||
|
||||
-- NOTE: ENV
|
||||
-- Disable Copilot tab mapping
|
||||
vim.g.copilot_no_tab_map = true
|
||||
|
||||
require("lazy_setup")
|
||||
require("polish")
|
||||
require("core.lsp")
|
||||
|
||||
Reference in New Issue
Block a user