doc2tex

2021-08-29 Thread lotzz
Im reading in the compiler user guide that i can output to LaTex files if i use doc2tex, but the compiler is saying that doesn't exist was it removed?

nimsuggest, neovim, nim.nvim trouble

2021-05-24 Thread lotzz
long story short I am using the neovim plugin, [nim.nvim](https://github.com/alaviss/nim.nvim) but It says it uses nimsuggest >= 0.20.0. I cant figure out for the life of me how to get the version number of nimsuggest, and it could just be a problem with the plugin. if anyone has either a fix,

Question about Macros and AST Documentation

2021-03-15 Thread lotzz
Just a simple question. Is there any kind of documentation about what type of children NimNodes expect? dumpAstGen: type test = object Run gives the result nnkStmtList.newTree( nnkTypeSection.newTree( nnkTypeDef.newTree( newI

NiGUI: Custom widgets

2021-01-15 Thread lotzz
I don't think so, the example uses a new object type, so I figure the same should be available for mine. I think maybe ControlImpl might not have a draw event... I'm not sure I'll try

NiGUI: Custom widgets

2021-01-14 Thread lotzz
I am not sure where else to ask this question. I am trying to not bother the person who works on this package: [NiGUI](https://github.com/trustable-code/NiGui/tree/07225b1737d56e8f93c8b5500f2c76f5ea7936cb). I am trying to make a custom widget similar to the one described in this example here. .

Avoid adding `m_type` field in JS Objects?

2020-11-07 Thread lotzz
Could it be because you didn't explicitly define the type of user in the object initialization example? I don't have my computer with me or id have a more definite answer

local types - how to

2020-11-07 Thread lotzz
If you keep your class to a specific module, wouldn't all the types be considered local unless exported specifically?

Should I use object or ref object?

2020-08-16 Thread lotzz
ref is similar to a pointer except that the garbage collector handles it. if you think about how a ref is created type simpleRef = ref simpleObj simpleObj = object proc createSimpleRef():simpleRef = result = new simpleObj Run the `new`

how to change the `op` argument for macros.quote

2020-08-10 Thread lotzz
This might be a simple question, but I cant seem to figure out how to change the functionality of the quote macro I am just trying to make it use a different operator instead of "``" but I cant think of how to write the statement #normally it is written like this var str:string