update README

This commit is contained in:
JellyApple102 2021-09-24 12:20:36 -04:00 committed by GitHub
parent ce565bfe31
commit 12ca7e6ced
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -31,6 +31,7 @@ parser_config.dfraw = {
} }
``` ```
Wrap in `lua << EOF` and `EOF` to use in `init.vim`. Wrap in `lua << EOF` and `EOF` to use in `init.vim`.
Then run `:TSInstall dfraw`.
By default it is setup to start for any file of type 'text' or 'dfraw'. If you would not like to use it for all text files you can add a custom filetype to neovim. By default it is setup to start for any file of type 'text' or 'dfraw'. If you would not like to use it for all text files you can add a custom filetype to neovim.
Example `.config/nvim/scripts.vim`: Example `.config/nvim/scripts.vim`: