Comments (4)
can't reproduce. Please try use minimal first
vim.opt.rtp:append("~/workspace/nvim-lspconfig")
local lspconfig = require("lspconfig")
lspconfig.lua_ls.setup({})
local bufs = {}
for i = 1, 5 do
local buf = vim.api.nvim_create_buf(true, false)
vim.api.nvim_buf_set_name(buf, "test_" .. i)
bufs[#bufs + 1] = buf
end
local list_bufs = vim.api.nvim_list_bufs()
--use vim --clean -u min_init.lua
print(#list_bufs - 1 == #bufs)
print(vim.inspect(list_bufs), vim.inspect(bufs))
from nvim-lspconfig.
@glepnir, the issue was introduces by the inclusion of the lua_ls
:
lspconfig.lua_ls.setup({})
$ lua-language-server --version
3.7.0
Exact reason is still unclear, investigating...
from nvim-lspconfig.
Related Issues (20)
- Custom command name may not conform user command naming rules HOT 8
- Outdated rockspec HOT 2
- Can't use primary constructors with C# LSP (csharp_ls) HOT 1
- Broken link - volar HOT 1
- Handlebars templating file support HOT 1
- Can't pass bool value to `diagnostics.signs` to disable diagnostics signs HOT 2
- pylsp + flake8 not working HOT 1
- `LspRestart` doesn't attach LSP again (regression in nightly) HOT 5
- ruff language server is not turned off after quit HOT 12
- ltex language server didn't let me change the language HOT 2
- Problem with jdtls HOT 1
- [Feature request]: Exclude pattern option HOT 3
- ESLint stops functioning after updating `vscode-langservers-extracted` to 4.10.0 HOT 9
- Eslint LSP Does Not Display Errors and Warnings on v4.9.0 or after HOT 2
- LspInfo not show border HOT 6
- luarocks package is outdated again HOT 1
- possibly unintuitive lua_ls root_dir detection logic
- LspInfo reports `Running in single file mode` when current buffer is not in `root_dir` HOT 4
- attempt to call method 'flatten' HOT 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 nvim-lspconfig.