Skip to content

Commit

Permalink
feat: Remove prettier plugin because dont work
Browse files Browse the repository at this point in the history
Signed-off-by: Vincent Boutour <[email protected]>
  • Loading branch information
ViBiOh committed Nov 21, 2024
1 parent 68a0b09 commit ac556d5
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 3 deletions.
2 changes: 1 addition & 1 deletion sublime/init.sh
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ main() {
fi

if command -v npm >/dev/null 2>&1; then
npm install --ignore-scripts --global "prettier" "prettier-plugin-go-template" "eslint" "typescript-language-server" "typescript" "yaml-language-server"
npm install --ignore-scripts --global "prettier" "eslint" "typescript-language-server" "typescript" "yaml-language-server"
fi

if command -v pip >/dev/null 2>&1; then
Expand Down
1 change: 0 additions & 1 deletion sublime/plugins/Formatter/Formatter.sublime-settings
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
{
"selectors": {
"text.html.go": [["prettier", "--no-color", "--plugin", "prettier-plugin-go-template", "--stdin-filepath", "file.tmpl"]],
"source.go": [["goimports"], ["gofumpt"]],
"source.js": [["prettier", "--no-color", "--stdin-filepath", "file.js"]],
"source.json": [["jq"]],
Expand Down
1 change: 0 additions & 1 deletion sublime/plugins/Formatter/format.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@ def format(view, region, working_dir, commands):
stdin=subprocess.PIPE,
stdout=subprocess.PIPE,
stderr=subprocess.PIPE,
cwd=working_dir,
)

timeout = threading.Timer(interval=5, function=process.terminate)
Expand Down

0 comments on commit ac556d5

Please sign in to comment.