language-hugo-vscode icon indicating copy to clipboard operation
language-hugo-vscode copied to clipboard

Adds syntax highlighting to Hugo files in VS Code

Results 16 language-hugo-vscode issues
Sort by recently updated
recently updated
newest added

Snippets shouldn't work in any html file but only in hugo project. Now it is unusable because in other project it get in other snippets' way - for example comment...

bug
question

![image](https://user-images.githubusercontent.com/32874384/232332290-048ca2e1-02b4-49c9-b865-54e97df9392f.png) As you can see in the image, the editor recognizes this as an error, but the usage in Hugo is correct. Is there any chance you can add this...

Hi, editor.quickSuggestions changed from a boolean to the new mapping: ``` "[markdown]": { "editor.quickSuggestions": { "other": "on", "comments": "on", "strings": "on" } ``` Also setting all the params "on", the...

VSCode might appreciate a Hugo (Go HTML template) syntax beautifier. Still now, Hugo tags are treated as text nodes (pure text) in HTML format leads to its content always get...

Syntax highliting does not cover the multi line string. Sample code: ```go {{ $longString := ` This is a multiline string` }} ``` Screenshot: ![Screenshot](https://user-images.githubusercontent.com/41392253/184912346-e1dca194-2789-4cad-b02a-349a52ea7930.png)

# Changes - Added back tick in `autoClosingPairs` and `surroundingPairs` - Made the back tick work with multiline string Linked issue: #29

When the plugin is enabled it breaks the standard HTML comment hotkeys in VSCode. `{{/* With plugin */}} `

Such as Hugo's sitemap.xml.

```html {{ (resources.Get "style.scss" | toCSS).Content | safeCSS }} {{- $js := resources.Get "script.ts" | js.Build (dict "sourcemap" "inline") -}} {{ $js.Content | safeJS }} ```

Fixes colorization when use of a global variable does not end with a space. (i.e. When a var name does not have a space before the end of the hugo...