diff options
author | talha <-> | 2025-04-03 00:45:52 +0500 |
---|---|---|
committer | talha <-> | 2025-04-03 00:45:52 +0500 |
commit | 4179cfdb4dc62f08013314a2c4eca06d0ed5a072 (patch) | |
tree | 5295432f7da2f7878318a1b6a1ae3733816e57cd /init.lua | |
parent | dcbb851bbfb45e210331d76db5227ef995366918 (diff) |
Added acme-colors, html snippetsmaster
Diffstat (limited to 'init.lua')
-rw-r--r-- | init.lua | 14 |
1 files changed, 13 insertions, 1 deletions
@@ -1,3 +1,4 @@ +vim.opt.tabstop = 8 vim.opt.softtabstop = 4 vim.opt.shiftwidth = 4 vim.opt.expandtab = false @@ -24,7 +25,8 @@ if vim.fn.executable('rg') > 0 then vim.opt.grepprg = 'rg --vimgrep' end -vim.cmd[[colorscheme solarized8_high]] +vim.opt.background = "light" +vim.cmd[[colorscheme nofrils-acme]] function SafeCListNav(navdir) -- dir: @@ -83,3 +85,13 @@ vim.api.nvim_create_autocmd("TextYankPost", { vim.highlight.on_yank() end, }) + +-- @func: write lines using lua +function WriteText(toWrite) + if not toWrite then + return + end + local posYX = vim.api.nvim_win_get_cursor(0) + vim.api.nvim_buf_set_text(0, posYX[1]-1, posYX[2], posYX[1]-1, posYX[2], { toWrite }) +end + |