Remove unnecessary "lang" parameter of various functions
commitdb1c862d5efc3a6a8aadf4232dda2d0093455f00
authorJiří Techet <techet@gmail.com>
Sat, 27 Aug 2022 21:48:57 +0000 (27 23:48 +0200)
committerThomas Martitz <thomas.martitz@mailbox.org>
Sat, 27 Aug 2022 22:44:50 +0000 (28 00:44 +0200)
tree6a7a3811828b4a786c609aaea4fd313d8e38d830
parent4f45f7014b3e7aabf650a68153ea38db4ffc5fcb
Remove unnecessary "lang" parameter of various functions

In functions where we pass the current file as an argument, we can get
the used language from the file and this extra parameter is unnecessary.
src/editor.c
src/tagmanager/tm_workspace.c
src/tagmanager/tm_workspace.h