Skip to content

Commit

Permalink
fix: #21
Browse files Browse the repository at this point in the history
  • Loading branch information
junstyle committed Apr 12, 2024
1 parent 9ebdaa0 commit 499276b
Show file tree
Hide file tree
Showing 4 changed files with 8,782 additions and 19 deletions.
8,786 changes: 8,771 additions & 15 deletions out/extension.js

Large diffs are not rendered by default.

7 changes: 7 additions & 0 deletions out/extension.js.map

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"description": "📍formatter, django template support, highlight, format, prettier, auto-complete",
"author": "junstyle",
"license": "MIT",
"version": "1.0.27",
"version": "1.0.28",
"repository": {
"type": "git",
"url": "https://github.com/junstyle/vscode-django-support"
Expand Down Expand Up @@ -114,7 +114,7 @@
},
"dependencies": {
"prettier": "^2.8.8",
"prettier-plugin-django": "^0.5.10"
"prettier-plugin-django": "^0.5.11"
},
"devDependencies": {
"@types/node": "^16.18.52",
Expand Down
4 changes: 2 additions & 2 deletions src/formatting.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import { format, Options, ParserOptions, resolveConfig } from 'prettier';
import * as djangoPlugin from 'prettier-plugin-django';
// import * as djangoPlugin from 'prettier-plugin-django';
import * as htmlPlugin from 'prettier/parser-html';
import { Diagnostic, DiagnosticCollection, Range, TextDocument } from 'vscode';
// import * as djangoPlugin from "D:/git/prettier-plugin-django/out";
import * as djangoPlugin from "D:/git/prettier-plugin-django/out";

export function formatting(document: TextDocument, diagnosticCollection?: DiagnosticCollection): string {
const options = {
Expand Down

0 comments on commit 499276b

Please sign in to comment.