17
0
Files
lite-xl-plugins/nonicons-userdir.diff

12 lines
452 B
Diff
Raw Permalink Normal View History

Accepting request 1010491 from home:sbradnick - Update to version git20221005.b1bc52f: * ipc: add different methods of opening directories - Update to version git20221004.2eb56c5: * Added support for LaTex package and class syntax highlighting * Update list of Fennel keywords to everything covered by 1.2.0 (#126) * add inter-process communication (ipc) plugin (#127) * regexreplacepreview: drop deprecated call to commandview set text * spellcheck: updated config spec to support file type * Update `language_rivet.lua` (#125) * nonicons: support dynamic scaling * settings: added support for file and directory options * Add syntax highlighting to JSX tags (#118) * Syntax highlighter for the MiniScript programming language (#124) * `language_assembly_x86`: Add name * settings: reapply user project and init settings after load, also added clear font cache button * Added an option for number of parens * Add `primary_selection` - Some prep for lite-xl version 2.1.0: * switched to upstream 2.1 branch * pulled in and added new 'console.lua' (console-new.lua) * updated patch for new 'nonicons.lua' (nonicons-userdir.patch) * removed the following 2 files as they were fixed upstream: * indentguide.lua * datetimestamps.patch - Update to version git20220822.6700c4f: * removed linecopypaste as it is now part of core * settings: revert to default fonts on load error OBS-URL: https://build.opensuse.org/request/show/1010491 OBS-URL: https://build.opensuse.org/package/show/editors/lite-xl-plugins?expand=0&rev=4
2022-10-13 14:56:27 +00:00
--- plugins/nonicons.lua.orig 2022-10-05 10:14:24.516441700 -0400
+++ plugins/nonicons.lua 2022-10-05 10:14:48.868524604 -0400
@@ -49,7 +49,7 @@
}
}, config.plugins.nonicons)
-local icon_font = renderer.font.load(USERDIR.."/fonts/nonicons.ttf", 15 * SCALE)
+local icon_font = renderer.font.load(DATADIR.."/fonts/nonicons.ttf", 15 * SCALE)
local chevron_width = icon_font:get_width("")
local previous_scale = SCALE
local extension_icons = {