Re: Gedit syntax highlighting.

2020-03-14 Thread adnan
I opened an issue in their repository but I am skeptical about them using the .lang file, considering it's gtksourceview 2, which is a little bit outdated. [https://gitlab.gnome.org/GNOME/gedit/issues/284](https://gitlab.gnome.org/GNOME/gedit/issues/284)

Re: Gedit syntax highlighting.

2020-03-14 Thread Stefan_Salewski
> I am skeptical I am skeptical too -- why should they care when people not even care to ship an up to date file? A never file is available here: [https://github.com/StefanSalewski/NEd](https://github.com/StefanSalewski/NEd) But it is old too, its from 2016. Was working well with GTK3 gedit un

Re: Gedit syntax highlighting.

2020-03-14 Thread adnan
Hmm turns out they want committed contributors who are willing to maintain the .lang file. Which is honestly a fair ask, but I personally think contributing to the Nim language server is more useful. Not sure if the gtksourceview based editors play very well with it though.

Is this a gc:arc memory leak bug or not?

2020-03-14 Thread Ward
**Example** type Foo = ref object of RootObj data: int parent: Foo proc `=destroy`(self: var type(Foo()[])) = echo "destroy foo ", self.data for i in self.fields: i.reset proc getParent(self: Foo): Foo = self.parent var foo1