I'm trying to setup neovim config using lua config.
I want to use vim-terminator to run current file.
I've my config file in this branch in the repo.
I've added the below config of vim-terminator plugin.
let g:terminator_runfile_map = {
\ "javascript": "node",
\ "python": "python -u",
\ "c": "gcc $dir$fileName -o $dir$fileNameWithoutExt && $dir$fileNameWithoutExt",
\ "fortran": "cd $dir && gfortran $fileName -o $fileNameWithoutExt && $dir$fileNameWithoutExt"
\ }
I get the below error -
Error detected while processing /home/rajkumar/.config/nvim/init.lua: E5113: Error while calling lua chunk: vim/_init_packages.lua:0: /home/rajkumar/.config/nvim/lua/v im-terminator/init.lua:1: '=' expected near 'g' stack traceback: [C]: in function 'error' vim/_init_packages.lua: in function <vim/_init_packages.lua:0> [C]: in function 'require' "." is a directory Press ENTER or type command to continue
I'm novice in lua. Not sure how to fix this error. Any Idea what I'm missing in my config.
