Skip to content

Commit 855ce6b

Browse files
committed
fix: .json.json extension when bootstrapping new snippet file
reported via https://www.reddit.com/r/neovim/comments/1rqo1bh/
1 parent 59902c7 commit 855ce6b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lua/scissors/vscode-format/validate-bootstrap.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ end
8383
---@return Scissors.SnippetFile -- the newly created snippet file
8484
function M.bootstrapSnippetFile(filetype)
8585
local snipDir = require("scissors.config").config.snippetDir
86-
local newSnipName = filetype .. ".json"
86+
local newSnipName = filetype
8787

8888
-- create empty snippet file
8989
local newSnipFilepath

0 commit comments

Comments
 (0)