Skip to content

Commit

Permalink
Update nvim-lspconfig.lua
Browse files Browse the repository at this point in the history
  • Loading branch information
fisenkodv authored Mar 11, 2024
1 parent 458f049 commit 79871d0
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions config/nvim/lua/plugins/nvim-lspconfig.lua
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,12 @@ return {
opts = {
---@type lspconfig.options
servers = {
eslint = {
settings = {
-- helps eslint find the eslintrc when it's placed in a subfolder instead of the cwd root
workingDirectories = { mode = "auto" },
},
},
cssls = {},
tsserver = {
root_dir = function(...)
Expand Down

0 comments on commit 79871d0

Please sign in to comment.