icedman / nvim-textmate

A textmate-based syntax highlighter for neovim - compatible with VScode
GNU General Public License v2.0
80 stars 7 forks source link

Not loading any colors #3

Open renxzen opened 2 years ago

renxzen commented 2 years ago

When i select the theme with TxMtTheme and try to enable it with TxMtEnable i get no colors at all, it's all white. When i try to disable it with TxMtDisable i get this error:

Error executing Lua callback: ...ck/packer/start/nvim-textmate/lua/nvim-textmate/init.lua:430: attempt to concatenate field 'colors_name' (a nil value)
stack traceback:
        ...ck/packer/start/nvim-textmate/lua/nvim-textmate/init.lua:430: in function <...ck/packer/start/nvim-textmate/lua/nvim-textmate/init.lua:421>
icedman commented 2 years ago

Uninstall with your packer. And try building manually with make. To see any more build errors. This plugin has been tested only with arch linux.

renxzen commented 2 years ago

It was happening because i wasn't loading a colorscheme before running nvim-textmate. Which brings me to the following problem: When i TxMtEnable it doesn't do anything. When i TxMtTheme <my_vscode_theme> it only changes the background (which matches with my vscode theme btw).

Currently running on arch linux. Edit: i did built it manually

icedman commented 2 years ago

A colorscheme has to be loaded initially. This is currently a limitation.