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
|
@ -3,14 +3,22 @@ local g = vim.g
|
|||
|
||||
o.encoding = "utf-8"
|
||||
o.hls = true
|
||||
o.nu = true
|
||||
|
||||
o.number = true
|
||||
o.relativenumber = true
|
||||
o.cursorline = true
|
||||
o.cursorlineopt = "number"
|
||||
|
||||
o.ignorecase = true
|
||||
o.smartcase = true
|
||||
o.mouse = "a"
|
||||
o.splitbelow = 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.guifont = { "Sarasa UI J", ":h16" }
|
||||
|
||||
|
|
|
@ -6,8 +6,17 @@ return {
|
|||
lazy = false,
|
||||
priority = 1000,
|
||||
config = function ()
|
||||
-- load the colorscheme here
|
||||
vim.cmd([[colorscheme tokyonight]])
|
||||
require("tokyonight").setup({
|
||||
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,
|
||||
},
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue