Skip to content

Commit

Permalink
fixup!
Browse files Browse the repository at this point in the history
  • Loading branch information
glepnir authored Dec 29, 2024
1 parent 2583aa5 commit 04e63d4
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions lua/lspconfig/configs/cue.lua
Original file line number Diff line number Diff line change
@@ -1,16 +1,11 @@
local util = require 'lspconfig.util'

local root_files = {
'cue.mod',
'.git',
}

return {
default_config = {
cmd = { 'cue', 'lsp' },
filetypes = { 'cue' },
root_dir = function(fname)
return util.root_pattern(unpack(root_files))(fname)
return util.root_pattern(unpack({ 'cue.mod', '.git' }))(fname)
end,
single_file_support = true,
},
Expand Down

0 comments on commit 04e63d4

Please sign in to comment.