mirror of
https://github.com/maxmx03/dracula.nvim.git
synced 2026-09-10 07:26:19 -04:00
refactor: readme.md
This commit is contained in:
parent
4a3540cabc
commit
c0d4a04d56
41
README.md
41
README.md
|
|
@ -1,20 +1,39 @@
|
|||
# dracula
|
||||
# Dracula
|
||||
|
||||
Lorem ipsum dolor sit amet, officia excepteur ex fugiat reprehenderit enim
|
||||
labore culpa sint ad nisi Lorem pariatur.
|
||||

|
||||
|
||||
## Installation
|
||||
|
||||
```json
|
||||
{
|
||||
"workspace": {
|
||||
"library": [
|
||||
"~/.local/share/nvim/lazy/dracula"
|
||||
],
|
||||
Enable dracula annotations (optional)
|
||||
|
||||
```lua
|
||||
lspconfig.lua_ls.setup {
|
||||
settings = {
|
||||
Lua = {
|
||||
runtime = {
|
||||
version = 'LuaJIT',
|
||||
},
|
||||
workspace = {
|
||||
checkThirdParty = false,
|
||||
library = {
|
||||
vim.env.VIMRUNTIME,
|
||||
'~/.local/share/nvim/lazy/dracula.nvim',
|
||||
},
|
||||
},
|
||||
hint = {
|
||||
enable = true,
|
||||
},
|
||||
completion = {
|
||||
callSnippet = 'Replace',
|
||||
},
|
||||
},
|
||||
},
|
||||
capabilities = capabilities,
|
||||
}
|
||||
```
|
||||
|
||||
lazy.nvim
|
||||
|
||||
```lua
|
||||
return {
|
||||
{
|
||||
|
|
@ -23,7 +42,9 @@ return {
|
|||
priority = 1000,
|
||||
config = function ()
|
||||
---@type dracula
|
||||
require "dracula".setup({
|
||||
local dracula = require "dracula"
|
||||
|
||||
dracula.setup({
|
||||
transparent = false,
|
||||
on_colors = function (colors, color)
|
||||
---@type dracula.palette
|
||||
|
|
|
|||
Loading…
Reference in a new issue