chore(nvim): Fully migrated to lua!
Closes GH-5
This commit is contained in:
parent
42ee746b9e
commit
577be59f57
3 changed files with 21 additions and 10 deletions
|
@ -20,10 +20,4 @@
|
||||||
-- null2264's NeoVim Config --
|
-- null2264's NeoVim Config --
|
||||||
--========================================--
|
--========================================--
|
||||||
|
|
||||||
-- TODO: Uncomment once we done migrating
|
require("null")
|
||||||
-- require("null")
|
|
||||||
|
|
||||||
-- FIXME: Turn all these to LUA
|
|
||||||
vim.cmd("source ~/.config/vim/vim_nix")
|
|
||||||
vim.cmd("source ~/.config/vim/vim_uni")
|
|
||||||
vim.cmd("source ~/.config/vim/vim_plug")
|
|
||||||
|
|
|
@ -3,14 +3,22 @@ local g = vim.g
|
||||||
|
|
||||||
o.encoding = "utf-8"
|
o.encoding = "utf-8"
|
||||||
o.hls = true
|
o.hls = true
|
||||||
o.nu = true
|
|
||||||
|
o.number = true
|
||||||
o.relativenumber = true
|
o.relativenumber = true
|
||||||
|
o.cursorline = true
|
||||||
|
o.cursorlineopt = "number"
|
||||||
|
|
||||||
o.ignorecase = true
|
o.ignorecase = true
|
||||||
o.smartcase = true
|
o.smartcase = true
|
||||||
o.mouse = "a"
|
o.mouse = "a"
|
||||||
o.splitbelow = true
|
o.splitbelow = true
|
||||||
o.splitright = true
|
o.splitright = true
|
||||||
|
|
||||||
|
-- Remove ugly tilde at the end of a file
|
||||||
|
-- REF: https://vi.stackexchange.com/a/29181
|
||||||
|
o.fillchars = "eob: "
|
||||||
|
|
||||||
g.mapleader = " "
|
g.mapleader = " "
|
||||||
g.guifont = { "Sarasa UI J", ":h16" }
|
g.guifont = { "Sarasa UI J", ":h16" }
|
||||||
|
|
||||||
|
|
|
@ -6,8 +6,17 @@ return {
|
||||||
lazy = false,
|
lazy = false,
|
||||||
priority = 1000,
|
priority = 1000,
|
||||||
config = function ()
|
config = function ()
|
||||||
-- load the colorscheme here
|
require("tokyonight").setup({
|
||||||
vim.cmd([[colorscheme tokyonight]])
|
style = "moon",
|
||||||
|
transparent = true,
|
||||||
|
styles = {
|
||||||
|
sidebars = "transparent"
|
||||||
|
},
|
||||||
|
on_highlights = function (hl, c)
|
||||||
|
hl.CursorLineNr = { fg = c.yellow, bold = true }
|
||||||
|
end,
|
||||||
|
})
|
||||||
|
vim.cmd([[colorscheme tokyonight-moon]])
|
||||||
end,
|
end,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue