prettier-plugin-glsl
Advanced tools
Comparing version 0.1.2 to 0.1.3
@@ -12,3 +12,3 @@ { | ||
], | ||
"version": "0.1.2", | ||
"version": "0.1.3", | ||
"description": "Prettier (https://prettier.io) plugin for GLSL (OpenGL Shading Language).", | ||
@@ -15,0 +15,0 @@ "exports": "./lib/prettier-plugin.cjs.js", |
@@ -6,3 +6,3 @@ [![npm](https://img.shields.io/npm/v/prettier-plugin-glsl?style=flat-square)](https://www.npmjs.com/package/prettier-plugin-glsl) | ||
This is a plugin for [Prettier](https://prettier.io), the opinionated code | ||
This is a plugin for [Prettier](https://prettier.io) (version 3.x), the opinionated code | ||
formatter, for GLSL, the shading language used in WebGL and other places. It | ||
@@ -9,0 +9,0 @@ uses a custom parser based on [Chevrotain](https://chevrotain.io/) and does not |
@@ -150,4 +150,4 @@ // noinspection JSUnusedGlobalSymbols | ||
// x.x000 => x.x | ||
image = image.replace(/0+$/, "") | ||
// x.x000 => x.x (but not x.xe10 => x.xe1) | ||
image = image.replace(/(?<!e.*)0+$/, "") | ||
@@ -154,0 +154,0 @@ // x. => x.0 |
@@ -0,0 +0,0 @@ By default, prettier automatically finds all prettier-plugin-* modules. This is a problem here as this module gets |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
550241