Search
 
SCRIPT & CODE EXAMPLE
 

HTML

coc allow comments in json

The filetype need to be jsonc.
To make Vim treat all json files as jsonc:

```
augroup JsonToJsonc
    autocmd! FileType json set filetype=jsonc
augroup END
```
Or you can use a modeline (:help modeline) at the very top or bottom of an individual json file, to set the filetype to jsonc for only that file:

// vim: ft=jsonc
Comment

PREVIOUS NEXT
Code Example
Html :: how to make an image a full background in html 
Html :: jumbotron bootstrap 
Html :: marquee tag in html 
Html :: if else if vue 
Html :: href on a button 
Html :: jquery append html to top of div 
Html :: bootstrap disabled button 
Html :: background music html autoplay hidden 
Html :: html structure 
Html :: html sound 
Html :: disable autocomplete 
Html :: access key attribute 
Html :: write python in html 
Html :: bootstrap link 
Html :: random image 
Html :: seo tags in html 
Html :: bootstrap 5 toggle switch 
Html :: html pass a string to clipboard 
Html :: how to like css to html 
Html :: corner radius edittext android 
Html :: how to make web page center 
Html :: css force string to wrap 
Html :: ion-select placeholder 
Html :: html error font 
Html :: ion input password 
Html :: bootstrap search 
Html :: how to add an image in html 
Html :: html button click url 
Html :: font awesome dropdown icon 
Html :: embed meta tag nextjs 
ADD CONTENT
Topic
Content
Source link
Name
9+3 =