Vim things

This commit is contained in:
Daniel Flanagan 2020-11-13 14:38:05 -06:00
parent 516e51d493
commit b5bf493051
Signed by: lytedev
GPG Key ID: 5B2020A0F9921EF4
4 changed files with 9 additions and 1 deletions

View File

@ -1,7 +1,7 @@
{
"layer": "top",
"position": "bottom",
"output": ["DP-1", "eDP-1"],
"output": ["DP-2", "eDP-1"],
"height": 32,
"modules-left": ["sway/workspaces"],
"modules-center": ["clock"],

View File

@ -1,3 +1,4 @@
/*
!/.gitignore
!/init.vim
!/lsp.lua

View File

@ -17,6 +17,7 @@ let g:fzf_preview_window = ['down:40%:hidden', 'ctrl-/']
call plug#begin($vimdir.'/plugged')
Plug 'junegunn/vim-plug' " plugin manager should manage itself
Plug 'sheerun/vim-polyglot' " handles language-specific configuration
Plug 'neovim/nvim-lspconfig' " deeper language integration via language servers
Plug 'junegunn/fzf', { 'do': { -> fzf#install() } }
Plug 'junegunn/fzf.vim' " helpers for using fzf in vim
Plug 'editorconfig/editorconfig-vim' " loads project-specific editor settings
@ -135,4 +136,6 @@ au BufReadPost *
\ | endif
au FileType fzf tnoremap <Esc> <C-c><C-c>
luafile $vimdir/lsp.lua
" TODO: learn about the wildmenu `q:`

4
apps/neovim/lsp.lua Normal file
View File

@ -0,0 +1,4 @@
local homedir = os.getenv('HOME')
require 'nvim_lsp'.elixirls.setup{
cmd = { homedir..'/../code/open-source/elixir-ls/release/language_server.sh' };
}