mirror of
https://github.com/kristoferssolo/SoloVim.git
synced 2026-02-04 06:42:05 +00:00
Added readme
This commit is contained in:
@@ -76,13 +76,6 @@ vim.api.nvim_create_autocmd({ "FileType" }, {
|
||||
end,
|
||||
})
|
||||
|
||||
local function SetColorScheme(color)
|
||||
color = color or "dracula"
|
||||
vim.cmd.colorscheme(color)
|
||||
vim.api.nvim_set_hl(0, "Normal", { bg = "none" })
|
||||
vim.api.nvim_set_hl(0, "NormalFloat", { bg = "none" })
|
||||
end
|
||||
SetColorScheme()
|
||||
|
||||
-- Change Cursorline/Columnt color
|
||||
vim.cmd([[
|
||||
|
||||
27
lua/user/colorscheme.lua
Normal file
27
lua/user/colorscheme.lua
Normal file
@@ -0,0 +1,27 @@
|
||||
local theme_status_ok, dracula = pcall(require, "dracula")
|
||||
if not theme_status_ok then
|
||||
return
|
||||
end
|
||||
|
||||
dracula.setup({
|
||||
-- show the '~' characters after the end of buffers
|
||||
show_end_of_buffer = true, -- default false
|
||||
-- use transparent background
|
||||
transparent_bg = true, -- default false
|
||||
-- set custom lualine background color
|
||||
-- lualine_bg_color = "#44475a", -- default nil
|
||||
-- set italic comment
|
||||
italic_comment = true, -- default false
|
||||
-- overrides the default highlights see `:h synIDattr`
|
||||
overrides = {
|
||||
-- Examples
|
||||
-- NonText = { fg = dracula.colors().white }, -- set NonText fg to white
|
||||
-- NvimTreeIndentMarker = { link = "NonText" }, -- link to NonText highlight
|
||||
-- Nothing = {} -- clear highlight of Nothing
|
||||
},
|
||||
})
|
||||
|
||||
local status_ok, _ = pcall(vim.cmd.colorscheme("dracula"))
|
||||
if not status_ok then
|
||||
return
|
||||
end
|
||||
@@ -1,9 +1,9 @@
|
||||
require("user.options")
|
||||
require("user.colorscheme")
|
||||
require("user.keymaps")
|
||||
require("user.autocommands")
|
||||
require("user.plugins")
|
||||
require("user.alpha")
|
||||
require("user.autopairs")
|
||||
require("user.autosave")
|
||||
require("user.vimwiki")
|
||||
require("user.mason")
|
||||
|
||||
@@ -1,12 +0,0 @@
|
||||
vim.g.vimwiki_list = {
|
||||
{
|
||||
path = "~/vimwiki",
|
||||
syntax = "markdown",
|
||||
ext = ".md",
|
||||
},
|
||||
}
|
||||
vim.g.vimwiki_ext2syntax = {
|
||||
[".md"] = "markdown",
|
||||
[".markdown"] = "markdown",
|
||||
[".mdown"] = "markdown",
|
||||
}
|
||||
Reference in New Issue
Block a user