https://sourceforge.net/projects/bacon-qt5/files/syntax/
#I keep the latest bacon syntax for kate here
https://sourceforge.net/projects/bacon-qt5/files/syntax/
#you have to recreate those folders if you dont have them
mkdir -p $HOME/.local/share/org.kde.syntax-highlighting/syntax
mkdir -p $HOME/.local/share/org.kde.syntax-highlighting/themes
#then place the freebasic.xml and bacon.xml inside the syntax folders
cp freebasic.xml $HOME/.local/share/org.kde.syntax-highlighting/syntax
cp bacon.xml $HOME/.local/share/org.kde.syntax-highlighting/syntax
#this is for all kde editors kate and kwrite sets the color theme like geany
cp Bacon_Geany_feel.theme $HOME/.local/share/org.kde.syntax-highlighting/themes
#for KATE
sudo apt-get install kate
sudo apt-get install libkf5syntaxhighlighting*
#now kate will automatically add the correct syntax highlighting
#for bacon.bac files select BaCon
#from Tools->Highlighting->Sources->BaCon
#an extra I added
#Bacon_Geany_feel.theme
cp Bacon_Geany_feel.theme $HOME/.local/share/org.kde.syntax-highlighting/themes
#now all you have to do is
#in the main window menu of kate
#Settings---->configure kate---->color themes----> IMPORT
#then select the Bacon Geany feel.theme
#and now kate looks the same as geanys bacon syntax
#just in case you are missing some deps these will pull in almost all
sudo apt-get install qtbase5-dev
sudo apt-get install qtcreator
#Manjaro
sudo pacman -S extra/syntax-highlighting