diff options
author | Gustaf Rydholm <gustaf.rydholm@gmail.com> | 2024-10-24 23:30:12 +0200 |
---|---|---|
committer | Gustaf Rydholm <gustaf.rydholm@gmail.com> | 2024-10-24 23:30:12 +0200 |
commit | 709c87b8799f4aaa51ca8c90a2e5240bb6b04198 (patch) | |
tree | 9836345c70aeedd69578b70048941aaccae7da22 /README.md | |
parent | 1685bbb47a409253f9145db56dd83ae117f9c382 (diff) |
Add install instructions
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 |