Add transition lua script for neovim
This commit is contained in:
parent
eacfe1d194
commit
fa014f1918
3 changed files with 7 additions and 2 deletions
|
@ -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>
|
||||
|
|
3
roles/neovim/files/transition.lua
Normal file
3
roles/neovim/files/transition.lua
Normal 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'
|
|
@ -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'}
|
||||
|
|
Loading…
Add table
Reference in a new issue