Migrate to conjure instead of fireplace.vim
parent
f23e301124
commit
e208d038e9
|
@ -1,11 +1,2 @@
|
||||||
setlocal ts=2 sts=2 sw=2 expandtab autoindent
|
setlocal ts=2 sts=2 sw=2 expandtab autoindent
|
||||||
let b:undo_ftplugin .= '|setlocal ts< sts< sw< expandtab< autoindent<'
|
let b:undo_ftplugin .= '|setlocal ts< sts< sw< expandtab< autoindent<'
|
||||||
|
|
||||||
function s:FireplaceStartAndConnect()
|
|
||||||
let port = luaeval('math.random(35000, 39999)')
|
|
||||||
silent execute "Dispatch lein repl :start :port " . l:port
|
|
||||||
sleep 3
|
|
||||||
execute "FireplaceConnect nrepl://localhost:" . l:port
|
|
||||||
endfunction
|
|
||||||
|
|
||||||
command! -nargs=0 FireplaceStartLeinRepl call <SID>FireplaceStartAndConnect()
|
|
||||||
|
|
|
@ -1,14 +0,0 @@
|
||||||
" -----------------------------------------------------------------------------
|
|
||||||
" - Vim-test and general testing config -
|
|
||||||
" -----------------------------------------------------------------------------
|
|
||||||
|
|
||||||
" make test commands execute using dispatch.vim
|
|
||||||
let test#strategy = "dispatch"
|
|
||||||
let test#csharp#runner = "dotnettest"
|
|
||||||
|
|
||||||
" Map test running commands
|
|
||||||
nmap <silent> <Leader>tn :TestNearest<CR>
|
|
||||||
nmap <silent> <Leader>tf :TestFile<CR>
|
|
||||||
nmap <silent> <Leader>ts :TestSuite<CR>
|
|
||||||
nmap <silent> <Leader>tl :TestLast<CR>
|
|
||||||
nmap <silent> <Leader>tg :TestVisit<CR>
|
|
|
@ -14,6 +14,7 @@ vim.api.nvim_exec('let $VIMPLUGINS = expand($VIMHOME."/lua/personal/plugins.lua"
|
||||||
|
|
||||||
-- Leader config to <Space>
|
-- Leader config to <Space>
|
||||||
vim.g.mapleader = " "
|
vim.g.mapleader = " "
|
||||||
|
vim.g.maplocalleader = " "
|
||||||
|
|
||||||
require("esensar.init.plugins")
|
require("esensar.init.plugins")
|
||||||
|
|
||||||
|
|
|
@ -26,7 +26,7 @@ opt.showcmd = true -- Display incomplete commands
|
||||||
opt.incsearch = true -- Do incremental searching
|
opt.incsearch = true -- Do incremental searching
|
||||||
opt.autoread = true -- Reload files changed outside
|
opt.autoread = true -- Reload files changed outside
|
||||||
opt.hidden = true -- Allow leaving unsaved buffers
|
opt.hidden = true -- Allow leaving unsaved buffers
|
||||||
opt.inccommand = "nosplit" -- Enable live preview of text replacement
|
opt.inccommand = "split" -- Enable live preview of text replacement
|
||||||
opt.hlsearch = true
|
opt.hlsearch = true
|
||||||
opt.mouse = "a"
|
opt.mouse = "a"
|
||||||
|
|
||||||
|
|
|
@ -51,8 +51,8 @@ return require("packer").startup({
|
||||||
-- Language support
|
-- Language support
|
||||||
use("tpope/vim-rails") -- Enables all rails command through vim and integrates with projectionist
|
use("tpope/vim-rails") -- Enables all rails command through vim and integrates with projectionist
|
||||||
use("c-brenn/phoenix.vim") -- Similar to vim-rails, but for phoenix
|
use("c-brenn/phoenix.vim") -- Similar to vim-rails, but for phoenix
|
||||||
use("tpope/vim-salve") -- Clojure integration with projectionist
|
use("Olical/conjure") -- Lisp languages REPL integration
|
||||||
use("tpope/vim-fireplace") -- Clojure REPL and integration
|
use("Olical/aniseed") -- Fennel nvim support
|
||||||
use("vimwiki/vimwiki") -- Vimwiki - personal wiki in vim
|
use("vimwiki/vimwiki") -- Vimwiki - personal wiki in vim
|
||||||
use("esensar/vimwiki-reviews-lua") -- Vimwiki extension for periodic reviews
|
use("esensar/vimwiki-reviews-lua") -- Vimwiki extension for periodic reviews
|
||||||
use("ledger/vim-ledger") -- Support for ledger-cli format
|
use("ledger/vim-ledger") -- Support for ledger-cli format
|
||||||
|
|
|
@ -0,0 +1,3 @@
|
||||||
|
-- Vim-sexp config
|
||||||
|
|
||||||
|
vim.g.sexp_filetypes = "clojure,scheme,lisp,timl,fennel,janet,hy,racket"
|
Loading…
Reference in New Issue