Skip to content

Commit

Permalink
fix: enable single file support for jsonnet_ls
Browse files Browse the repository at this point in the history
  • Loading branch information
dadav committed Dec 2, 2023
1 parent 694aaec commit df8a1a2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lua/lspconfig/server_configurations/jsonnet_ls.lua
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ return {
default_config = {
cmd = { 'jsonnet-language-server' },
filetypes = { 'jsonnet', 'libsonnet' },
single_file_support = true,
root_dir = function(fname)
return util.root_pattern 'jsonnetfile.json'(fname) or util.find_git_ancestor(fname)
end,
Expand Down

0 comments on commit df8a1a2

Please sign in to comment.