Closed kaykhancheckpoint closed 3 years ago
Can you paste the typescript code here?
Can you paste the typescript code here?
Just want to point out im new to this plugin, so i could be doing something entirely wrong. Let me know if you need me to provide you with more information
import MySQL from "./services/mysql.service";
export const InsertIntoPersonGame = async (payload) => {
const connection = MySQL();
const query = "INSERT INTO person_game SET ?";
try {
const results = await connection.query(query, payload);
return results;
} catch (err) {
throw err;
} finally {
await connection.end();
connection.quit();
}
};
export const GetTrackedGames = async () => {
const connection = MySQL();
const query = `
SELECT *
FROM discovery_games
`;
try {
const results = await connection.query(query);
return results;
} catch (err) {
throw err;
} finally {
await connection.end();
connection.quit();
}
};
Should be fixed now, sorry about that - I don't know typescript so I couldn't test it thoroughly
Should be fixed now, sorry about that - I don't know typescript so I couldn't test it thoroughly
thanks, and how do i update the module to get your fix?
Use the update command from your package manager
Use the update command from your package manager
Ye thats the first thing i tried :PlugUpdate but no change to nvim-treesitter
Did you install this module using vim-plug?
Did you install this module using vim-plug?
I have installed nvim-treesitter via vim-plug and this is one of the modules included https://github.com/nvim-treesitter/nvim-treesitter/wiki/Extra-modules-and-plugins
It's not "included" in the main plugin, it just works with the main plugin's module system. You still have to install it separately
It's not "included" in the main plugin, it just works with the main plugin's module system. You still have to install it separately
oh! Well yep its working now hhhh
thanks again
Hi friends i have this module installed but it does not seem to be working for typescript .ts files. To be honest im not even sure if tree-sitter is working at all, ive noticed no difference, but the rainbow parenthesis color is deff no working.
init.vim
:TSConfigInfo
:checkhealth nvim_treesitter