Add transition lua script for neovim

This commit is contained in:
flyingscorpio@clevo 2022-07-25 13:31:57 +02:00
parent eacfe1d194
commit fa014f1918
3 changed files with 7 additions and 2 deletions

View file

@ -1,6 +1,6 @@
lua require('transition')
set runtimepath^=~/.vim runtimepath+=~/.vim/after
let &packpath = &runtimepath
source ~/.vimrc
let g:python3_host_prog = '/usr/bin/python3'
let g:vimtex_compiler_progname = 'nvr'
tnoremap <Esc> <C-\><C-n>

View file

@ -0,0 +1,3 @@
-- TODO: https://vonheikemen.github.io/devlog/tools/configuring-neovim-using-lua/
vim.g.python3_host_prog = '/usr/bin/python3'
vim.g.vimtex_compiler_progname = 'nvr'

View file

@ -64,6 +64,7 @@
- {path: '~/.vim', mode: '0755'}
- {path: '~/.vim/autoload', mode: '0750'}
- {path: '~/.config/nvim', mode: '0755'}
- {path: '~/.config/nvim/lua', mode: '0755'} # TODO: remove when transition is over
- name: Check if colors is a symlink
stat:
@ -81,6 +82,7 @@
copy: src={{ item.src }} dest={{ item.dest }} mode=0644
with_items:
- {src: 'init.vim', dest: '~/.config/nvim/init.vim'}
- {src: 'transition.lua', dest: '~/.config/nvim/lua/transition.lua'}
- {src: 'flake8', dest: '~/.flake8'}
- {src: 'pylintrc', dest: '~/.pylintrc'}
- {src: 'vimrc', dest: '~/.vimrc'}