disable null-ls as its officially causing errors :(

This commit is contained in:
Jesse Hitch 2025-04-17 11:12:09 +02:00
parent dde96e5bd4
commit 74ba820f4f
No known key found for this signature in database
2 changed files with 16 additions and 23 deletions

View file

@ -48,9 +48,6 @@ require("user.toggleterm")
-- Language Server configs and other syntax checking and highlight tools -- Language Server configs and other syntax checking and highlight tools
require('user.lsp-configs') require('user.lsp-configs')
-- Language server configs for stuff that doesn't have it
require('user.null_ls')
-- Run startup autocommands -- Run startup autocommands
require('user.autocommands') require('user.autocommands')

View file

@ -1,16 +1,17 @@
-- installs lazy, our plugin manager for neovim -- installs lazy, our plugin manager for neovim
local lazypath = vim.fn.stdpath("data") .. "/lazy/lazy.nvim" local lazypath = vim.fn.stdpath("data") .. "/lazy/lazy.nvim"
if not vim.loop.fs_stat(lazypath) then if not (vim.uv or vim.loop).fs_stat(lazypath) then
vim.fn.system( local lazyrepo = "https://github.com/folke/lazy.nvim.git"
{ local out = vim.fn.system({ "git", "clone", "--filter=blob:none", "--branch=stable", lazyrepo, lazypath })
"git", if vim.v.shell_error ~= 0 then
"clone", vim.api.nvim_echo({
"--filter=blob:none", { "Failed to clone lazy.nvim:\n", "ErrorMsg" },
"https://github.com/folke/lazy.nvim.git", { out, "WarningMsg" },
"--branch=stable", -- latest stable release { "\nPress any key to exit..." },
lazypath, }, true, {})
} vim.fn.getchar()
) os.exit(1)
end
end end
vim.opt.rtp:prepend(lazypath) vim.opt.rtp:prepend(lazypath)
@ -32,8 +33,7 @@ local plugins = {
'glepnir/dashboard-nvim', 'glepnir/dashboard-nvim',
event = 'VimEnter', event = 'VimEnter',
dependencies = { dependencies = {
'nvim-tree/nvim-web-devicons', 'nvim-tree/nvim-web-devicons'
'MunifTanjim/nui.nvim',
} }
}, },
-- -------------------------- status line -------------------------------- -- -------------------------- status line --------------------------------
@ -322,15 +322,11 @@ local plugins = {
-- :TSUpdateSync updates the nvim_treesitter compiling stuff -- :TSUpdateSync updates the nvim_treesitter compiling stuff
build = {":MasonUpdate", ":TSUpdateSync"} build = {":MasonUpdate", ":TSUpdateSync"}
}, },
-- this helps bridge the gap between additional linters that don't have proper LSP -- may replace null-ls since was deprecated
-- https://github.com/nvimdev/guard.nvim
{ {
'jose-elias-alvarez/null-ls.nvim', 'nvimdev/guard.nvim'
}, },
-- may replace null-ls since it is being deprecated
--{
-- 'nvimdev/guard.nvim'
--},
-- Diagnostics with leader key + d -- Diagnostics with leader key + d
{ {
"folke/trouble.nvim", "folke/trouble.nvim",