diff options
| author | Ariel D'Alessandro <dalessandro.ariel@gmail.com> | 2023-01-08 09:58:56 +0100 |
|---|---|---|
| committer | Ariel D'Alessandro <dalessandro.ariel@gmail.com> | 2023-01-08 09:58:56 +0100 |
| commit | f7bcac5ee5db56081981bb946a66d3fc34807988 (patch) | |
| tree | 2cfc8d60054508d5297cd392d6df1e540057bcc7 /lua/alpha/neovide.lua | |
| parent | fb9196e7766f53115009c081f0b4308ca6c081b4 (diff) | |
| download | nvim-conf-f7bcac5ee5db56081981bb946a66d3fc34807988.tar.gz nvim-conf-f7bcac5ee5db56081981bb946a66d3fc34807988.zip | |
feat: refactor lsp & cmp to lua folder from after
Diffstat (limited to 'lua/alpha/neovide.lua')
| -rw-r--r-- | lua/alpha/neovide.lua | 29 |
1 files changed, 0 insertions, 29 deletions
diff --git a/lua/alpha/neovide.lua b/lua/alpha/neovide.lua deleted file mode 100644 index 1e419d3..0000000 --- a/lua/alpha/neovide.lua +++ /dev/null @@ -1,29 +0,0 @@ -local default_font = "VictorMono Nerd Font:b" -local default_size = 14; - -vim.g.neovide_transparency = 0.9 -vim.g.neovide_hide_mouse_when_typing = true - -local function set_font(font, size) - font = font or default_font - size = size or default_size - - vim.o.guifont = string.format("%s:h%d", font, size) -end - -set_font() - -local maps = { - f0 = 14, - f1 = 15, - f2 = 16, - f3 = 18, - f4 = 20, - f5 = 22, -} - -for key, value in pairs(maps) do - vim.keymap.set("n", "<leader>" .. key, function () - set_font(nil, value) - end) -end |