Comments (5)
Hey there!
I tried to reproduce the error using this minimal config with none-ls linter but could not replicate it.
local lazypath = vim.fn.stdpath("data") .. "/lazy/lazy.nvim"
if not vim.loop.fs_stat(lazypath) then
vim.fn.system {
"git",
"clone",
"--filter=blob:none",
"https://github.com/folke/lazy.nvim.git",
"--branch=stable",
lazypath,
}
end
vim.opt.rtp:prepend(lazypath)
require("lazy").setup {
{
"nvimtools/none-ls.nvim",
dependencies = {
"nvim-lua/plenary.nvim",
},
config = function()
local null_ls = require("null-ls")
null_ls.setup {
sources = {
null_ls.builtins.diagnostics.selene,
},
}
end,
},
{
"brianaung/yasl.nvim",
config = function()
require("yasl").setup {
enable_icons = true,
}
end,
},
}
Which linter are you using? Can you provide me a bit more info so I can look into this further?
from yasl.nvim.
My guess is that the linter you use does not attach to lsp (unlike none-ls), that's why it was not working.
The specific check for copilot client shouldn't be needed anymore (I used to display different status for LSP "OFF"/active but copilot was messing with it, but that's no longer the case). But I still would like to prevent unnecessarily calling the rest of the functions when there are no clients attached.
from yasl.nvim.
yes, I am using https://github.com/mfussenegger/nvim-lint so any diagnostics from the linter will not be displayed on the statusline.
from yasl.nvim.
Hey the fix has been merged.
I have tested it and it works. let me know if the error still persists.
from yasl.nvim.
it works fine, thank you.
from yasl.nvim.
Related Issues (2)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from yasl.nvim.