Handle dataviewjs code block as js? #280
-
Hello! I have a code block that is tagged I would like it to be detected as JS. Is that possible? |
Beta Was this translation helpful? Give feedback.
Answered by
MeanderingProgrammer
Jan 4, 2025
Replies: 1 comment 1 reply
-
Yeah, but that's just something you would do with neovim filetype detection. Put this somewhere in your config: vim.filetype.add({
extension = {
dataviewjs = 'javascript',
},
}) |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
MeanderingProgrammer
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Yeah, but that's just something you would do with neovim filetype detection. Put this somewhere in your config: