mirror of
https://github.com/LazyVim/LazyVim.git
synced 2025-06-21 08:35:53 +02:00
fix(extras): rename lspconfig.server_configurations
to lspconfig.configs
(#4518)
## Description
bedb2a0df1
introduces a change to the Lua module structure for `nvim-lspconfig`
that broke `tailwindcss`. Tried to also address all the other usages of
`lspconfig.server_configurations` within the ecosystem.
## Screenshots

## Checklist
- [X] I've read the
[CONTRIBUTING](https://github.com/LazyVim/LazyVim/blob/main/CONTRIBUTING.md)
guidelines.
This commit is contained in:
parent
a1c3ec4cd4
commit
74325743e7
3 changed files with 4 additions and 4 deletions
|
@ -1,4 +1,4 @@
|
|||
-- This is the same as in lspconfig.server_configurations.jdtls, but avoids
|
||||
-- This is the same as in lspconfig.configs.jdtls, but avoids
|
||||
-- needing to require that when this module loads.
|
||||
local java_filetypes = { "java" }
|
||||
|
||||
|
@ -76,7 +76,7 @@ return {
|
|||
return {
|
||||
-- How to find the root dir for a given filename. The default comes from
|
||||
-- lspconfig which provides a function specifically for java projects.
|
||||
root_dir = require("lspconfig.server_configurations.jdtls").default_config.root_dir,
|
||||
root_dir = require("lspconfig.configs.jdtls").default_config.root_dir,
|
||||
|
||||
-- How to find the project name for a given root dir.
|
||||
project_name = function(root_dir)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue