Something went wrong. Try again.
clojure plugin for neovim
Something went wrong. Try again.
557 B · 15 lines
Lua
at main
12345678910111213141516-- [nfnl] ftplugin/clojure.fnlif not vim.b.undo_ftplugin then vim.b.did_ftplugin = true local cpo_save = vim.deepcopy(vim.opt.cpo) vim.cmd("set cpo&vim") vim.b.undo_ftplugin = "setlocal iskeyword< define< formatoptions< comments< commentstring< lispwords<" vim.opt_local.iskeyword:append({"?", "-", "*", "!", "+", "/", "=", "<", ">", ".", ":", "$", "%", "&", "|", "#"}) vim.opt_local.formatoptions:remove("t") vim.opt_local.comments = "n:;" vim.opt_local.commentstring = ";\\ %s" vim.opt.cpo = cpo_save return nilelse return nilend