Add Lean support

This commit is contained in:
Nicole Tietz-Sokolskaya 2022-10-12 09:47:55 -04:00
parent 5055d02849
commit 97fbe00d9b
4 changed files with 63 additions and 0 deletions

View file

@ -3,6 +3,8 @@ let $FZF_DEFAULT_COMMAND='rg --files --follow --hidden -g "!{node_modules/*,.git
source $HOME/.config/nvim/plug/plug.vim source $HOME/.config/nvim/plug/plug.vim
source $HOME/.config/nvim/plugs.vim source $HOME/.config/nvim/plugs.vim
source $HOME/.config/nvim/lean.lua
syntax on syntax on
filetype plugin indent on filetype plugin indent on

View file

@ -0,0 +1,4 @@
require('lean').setup{
abbreviations = { builtin = true },
mappings = true,
}

View file

@ -35,4 +35,10 @@ Plug 'neoclide/coc.nvim', {'branch': 'release'}
" After installation, run this to setup with Rust: " After installation, run this to setup with Rust:
" :CocInstall coc-rust-analyzer " :CocInstall coc-rust-analyzer
" Lean theorem prover support
Plug 'neovim/nvim-lspconfig'
Plug 'nvim-lua/plenary.nvim'
Plug 'Julian/lean.nvim'
call plug#end() call plug#end()

View file

@ -0,0 +1,51 @@
# /home/nicholas/.config/tmuxinator/Config.yml
name: lean
root: ~/Code/lean
# Optional tmux socket
# socket_name: foo
# Note that the pre and post options have been deprecated and will be replaced by
# project hooks.
# Project hooks
# Runs on project start, always
# on_project_start: command
# Run on project start, the first time
# on_project_first_start: command
# Run on project start, after the first time
# on_project_restart: command
# Run on project exit ( detaching from tmux session )
# on_project_exit: command
# Run on project stop
# on_project_stop: command
# Runs in each window and pane before window/pane specific commands. Useful for setting up interpreter versions.
# pre_window: rbenv shell 2.0.0-p247
# Pass command line options to tmux. Useful for specifying a different tmux.conf.
# tmux_options: -f ~/.tmux.mac.conf
# Change the command to call tmux. This can be used by derivatives/wrappers like byobu.
# tmux_command: byobu
# Specifies (by name or index) which window will be selected on project startup. If not set, the first window is used.
# startup_window: editor
# Specifies (by index) which pane of the specified window will be selected on project startup. If not set, the first pane is used.
# startup_pane: 1
# Controls whether the tmux session should be attached to automatically. Defaults to true.
# attach: false
windows:
- shell:
- clear
- editor:
- vim-resume