aboutsummaryrefslogtreecommitdiff
path: root/plugins/hidelinenumbers.lua
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/hidelinenumbers.lua')
-rw-r--r--plugins/hidelinenumbers.lua5
1 files changed, 5 insertions, 0 deletions
diff --git a/plugins/hidelinenumbers.lua b/plugins/hidelinenumbers.lua
new file mode 100644
index 0000000..206bd23
--- /dev/null
+++ b/plugins/hidelinenumbers.lua
@@ -0,0 +1,5 @@
+local style = require "core.style"
+local DocView = require "core.docview"
+
+DocView.draw_line_gutter = function() end
+DocView.get_gutter_width = function() return style.padding.x end