mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-01 11:06:54 -04:00
parent
a14970861c
commit
a42137f56a
2 changed files with 25 additions and 0 deletions
6
tests/indent/graphql/issue-1981.graphql
Normal file
6
tests/indent/graphql/issue-1981.graphql
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
query Me {
|
||||
me {
|
||||
id
|
||||
fullName
|
||||
}
|
||||
}
|
||||
19
tests/indent/graphql_spec.lua
Executable file
19
tests/indent/graphql_spec.lua
Executable file
|
|
@ -0,0 +1,19 @@
|
|||
local Runner = require("tests.indent.common").Runner
|
||||
--local XFAIL = require("tests.indent.common").XFAIL
|
||||
|
||||
local run = Runner:new(it, "tests/indent/graphql", {
|
||||
tabstop = 2,
|
||||
shiftwidth = 2,
|
||||
softtabstop = 0,
|
||||
expandtab = true,
|
||||
})
|
||||
|
||||
describe("indent Lua:", function()
|
||||
describe("whole file:", function()
|
||||
run:whole_file(".", {
|
||||
expected_failures = {},
|
||||
})
|
||||
end)
|
||||
|
||||
describe("new line:", function() end)
|
||||
end)
|
||||
Loading…
Add table
Add a link
Reference in a new issue