Skip to content

Syntax highlight plugin made for Panda BT - a Unity3D plugin for scripting Behaviour Trees.

License

Notifications You must be signed in to change notification settings

gautamnaik1994/vim-panda-bt

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

vim-panda-bt

Syntax highlight plugin made for Panda BT - a Unity3D plugin for scripting Behaviour Trees.

This plugin uses a indent based custom scripting language to create beahviour trees. Since these scripts were plain text files, it was difficult to understand the script without proper syntax higlighting. So I created this plugin to address the issue.

Note that, there is inbuilt syntax highlighting provided with the plugin which only works inside the Unity3D editor.

Requirements

For the plugin to work properly, you will need to add .BT.txt or .BT.lib.txt as your file extension while creating new Panda Behaviour Tree file.

Install via vim-plug

Add to vimrc:

Plug 'gautamnaik1994/vim-panda-bt'

Usage

Incase, for some reason, the syntax highligting does not work, add the following line to your .vimrc or init.vim

au BufNewFile,BufRead *.BT.txt,*.BT.lib.txt set ft=pandabt

Screenshots

Vim Default Dark Theme

Default Theme Screenshot

Onedark Theme

OneDark Theme Screenshot

Acknowledgements

A huge thanks goes to Eric Begue for creating Panda BT

About

Syntax highlight plugin made for Panda BT - a Unity3D plugin for scripting Behaviour Trees.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages