diff options
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 44 |
1 files changed, 44 insertions, 0 deletions
@@ -36,6 +36,50 @@ require("no-clown-fiesta").setup({ }) ``` +### Installation + +If you are using the lazy, then you can install and configure the plugin like this: + +```fnl +(local opts {:styles {:type {:bold true} + :lsp {:undercurl false} + :match_paren {:underline true}}}) + +(λ config [] + (let [plugin (require :no-clown-fiesta)] + (plugin.setup opts) + (plugin.load))) + +{1 :aktersnurra/no-clown-fiesta.nvim :lazy false :priority 1000 : config} +``` + +or if you prefer lua: + +```lua +local opts = { + styles = { + type = { bold = true }, + lsp = { underline = false }, + match_paren = { underline = true }, + }, +} + +local function config() + local plugin = require "no-clown-fiesta" + plugin.setup(opts) + return plugin.load() +end + +return { + "aktersnurra/no-clown-fiesta.nvim", + priority = 1000, + config = config, + lazy = false, +} +``` + +Other plugin managers are left as an exercise to the reader. + ## Supported Plugins - Alpha |