Skip to content

Commit

Permalink
chore: add .git to root_dir of robotcode
Browse files Browse the repository at this point in the history
Co-authored-by: glepnir <[email protected]>
  • Loading branch information
TendonT52 and glepnir authored Nov 11, 2024
1 parent e48283d commit 7911621
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions lua/lspconfig/configs/robotcode.lua
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,7 @@ return {
default_config = {
cmd = { 'robotcode', 'language-server' },
filetypes = { 'robot', 'resource' },
root_dir = function(fname)
return util.root_pattern('robot.toml', 'pyproject.toml', 'Pipfile')(fname) or util.find_git_ancestor(fname)
end,
root_dir = util.root_pattern('robot.toml', 'pyproject.toml', 'Pipfile', '.git'),
single_file_support = true,
get_language_id = function(_, _)
return 'robotframework'
Expand Down

0 comments on commit 7911621

Please sign in to comment.