Vim Tips on Nostr: Try this in vim To enable syntax highlighting in vim (based on the file's extension ...
Try this in vim
To enable syntax highlighting in vim (based on the file's extension like .py or .html), type the command ':syntax on'. Add ':syntax on' to your .vimrc to set it permanently.
Published at
2024-09-02 20:29:57Event JSON
{
"id": "739faf1ab20a289b786e9d00387902d53fe81b3ccb7b6bb5d0f30deec67933ef",
"pubkey": "dcb60943d708df5c7baef0bcc01a3d29cc7d46a13d62ce57945ab814c4e5cf86",
"created_at": 1725308997,
"kind": 1,
"tags": [
[
"proxy",
"https://botsin.space/users/vimtips/statuses/113069850454571519",
"activitypub"
]
],
"content": "Try this in vim\n\nTo enable syntax highlighting in vim (based on the file's extension like .py or .html), type the command ':syntax on'. Add ':syntax on' to your .vimrc to set it permanently.",
"sig": "8738a5702ed51e7cd7f7e4afe605f81798c1823417024750b587e20d71330fbf45559d9d78e295d39b02818434a2e1e03f4bb4f300746e4c0d3626260df942f3"
}