Skip to content

Commit

Permalink
chore: makefile
Browse files Browse the repository at this point in the history
  • Loading branch information
bennypowers committed Aug 12, 2024
1 parent fa86021 commit 57fddfa
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,4 +28,4 @@ jobs:
- name: Run Tests
run: |
nvim --version
nvim --headless -u test/init.lua -c "lua require'plenary.test_harness'.test_directory('test/', {minimal_init='test/init.lua',sequential=true})"
make test
2 changes: 2 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
test: *
nvim --headless -u test/init.lua -c "lua require'plenary.test_harness'.test_directory('test/', {minimal_init='test/init.lua',sequential=true})"
6 changes: 5 additions & 1 deletion lua/splitjoin.lua
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,12 @@ local is_in_node_range = vim.treesitter.is_in_node_range
---@field default_indent string
---@field surround string[] tuple of surround strings
---@field separator string=','
---@field separator_is_node boolean=true
---@field padding string
---@field trailing_separator boolean=true
---@field trailing_separator boolean=true true when a trailing separator (e.g. trailing comma) is permitted/desired

---@class SplitjoinLanguageConfig
---@field nodes table<string, SplitjoinLanguageOptions>

---@class SplitjoinOptions
---@field default_indent string
Expand Down

0 comments on commit 57fddfa

Please sign in to comment.