Skip to content

Commit

Permalink
RIP Lean 3.
Browse files Browse the repository at this point in the history
  • Loading branch information
Julian committed Nov 24, 2024
1 parent 1fd2194 commit af6d896
Showing 1 changed file with 6 additions and 8 deletions.
14 changes: 6 additions & 8 deletions .config/nvim/after/ftplugin/lean.lua
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,12 @@ vim.wo.signcolumn = 'yes'
vim.bo.textwidth = 100

vim.keymap.set('n', '<LocalLeader>g', function()
require'telescope.builtin'.live_grep{
glob_pattern = '*.lean',
path_display = { 'tail' },
search_dirs = require('lean').current_search_paths()
}
require'telescope.builtin'.live_grep{
glob_pattern = '*.lean',
path_display = { 'tail' },
search_dirs = require('lean').current_search_paths()
}
end, { buffer = true, desc = 'live grep the Lean search path.' })
vim.keymap.set('n', '<LocalLeader>l', function()
require'telescope'.extensions.loogle.loogle{}
require'telescope'.extensions.loogle.loogle{}
end, { buffer = true, desc = 'search Loogle via Telescope' })

vim.cmd.highlight('link leanTactic Green')

0 comments on commit af6d896

Please sign in to comment.