Add Telescope configuration, update python versions and pin gitsigns version
This commit is contained in:
parent
4103f73de3
commit
699bb8d85c
4 changed files with 23 additions and 1 deletions
|
|
@ -12,6 +12,7 @@
|
|||
- '{{ xdg_data_dir }}/nvim/site/pack/default'
|
||||
- '{{ xdg_data_dir }}/nvim/site/pack/default/start'
|
||||
|
||||
# Note that helptags may need to be regenerated (see `:h helptags`)
|
||||
- name: clone neovim packages
|
||||
git:
|
||||
repo: '{{ item.url }}'
|
||||
|
|
@ -132,3 +133,7 @@
|
|||
src: 'templates/nvim/lua/lua-line.lua.j2',
|
||||
dest: '{{ xdg_config_dir }}/nvim/lua/lua-line.lua',
|
||||
}
|
||||
- {
|
||||
src: 'templates/nvim/lua/telescope.lua.j2',
|
||||
dest: '{{ xdg_config_dir }}/nvim/lua/_telescope.lua',
|
||||
}
|
||||
|
|
|
|||
|
|
@ -6,3 +6,4 @@ require('auto-commands')
|
|||
require('tree-sitter')
|
||||
require('lua-line')
|
||||
require('git-signs')
|
||||
require('_telescope')
|
||||
|
|
|
|||
10
templates/nvim/lua/telescope.lua.j2
Normal file
10
templates/nvim/lua/telescope.lua.j2
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
local telescope = require('telescope');
|
||||
|
||||
telescope.setup({
|
||||
defaults = {
|
||||
layout_strategy = 'vertical',
|
||||
layout_config = {
|
||||
vertical = { width = 0.5, height = 0.7 }
|
||||
},
|
||||
},
|
||||
})
|
||||
8
vars.yml
8
vars.yml
|
|
@ -57,7 +57,11 @@ neovim_plugins:
|
|||
version: '0.1.x',
|
||||
}
|
||||
- { url: 'https://github.com/L3MON4D3/LuaSnip', name: 'luasnip', version: 'v1.0.0' }
|
||||
- { url: 'https://github.com/lewis6991/gitsigns.nvim', name: 'gitsigns.nvim' }
|
||||
- {
|
||||
url: 'https://github.com/lewis6991/gitsigns.nvim',
|
||||
name: 'gitsigns.nvim',
|
||||
version: 'v0.9.0',
|
||||
}
|
||||
- { url: 'https://github.com/sainnhe/edge', name: 'edge' }
|
||||
- { url: 'https://github.com/nvim-lualine/lualine.nvim', name: 'lualine' }
|
||||
- {
|
||||
|
|
@ -78,6 +82,8 @@ language_servers:
|
|||
|
||||
python_download_url: 'https://www.python.org/ftp/python'
|
||||
python_versions:
|
||||
- { version: 3.11.9, path: 'python3.11', binary: 'python3.11' }
|
||||
- { version: 3.10.0, path: 'python3.10', binary: 'python3.10' }
|
||||
- { version: 3.9.14, path: 'python3.9', binary: 'python3.9' }
|
||||
- { version: 3.8.14, path: 'python3.8', binary: 'python3.8' }
|
||||
- { version: 3.7.14, path: 'python3.7', binary: 'python3.7' }
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue