Skip to content

Handle dataviewjs code block as js? #280

Discussion options

You must be logged in to vote

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',
    },
})

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@agriffis
Comment options

Answer selected by MeanderingProgrammer
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants