Skip to content

Commit

Permalink
add vim-terraform
Browse files Browse the repository at this point in the history
  • Loading branch information
BrianHicks committed Oct 12, 2019
1 parent 94a6eaa commit a6f756d
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 0 deletions.
8 changes: 8 additions & 0 deletions dotfiles/neovim.nix
Expand Up @@ -34,6 +34,11 @@ let
# we can just ignore it. The plugin should be usable as-checked-in.
buildPhase = "true";
});

"vim-terraform" = unpatched.vim-terraform.overrideAttrs (attrs: {
# avoiding a Makefile
buildPhase = "true";
});
};
in {
programs.neovim = {
Expand Down Expand Up @@ -275,6 +280,9 @@ in {
" I want to use prettier before anything else for JS code
let g:neoformat_enabled_javascript = [ 'prettier', 'prettier-eslint', 'js-beautify', 'prettydiff', 'clang-format', 'esformatter', 'standard' ]
" terraform autoformatting
let g:terraform_fmt_on_save=1
"" DOCUMENTATION
let g:doge_enable_mappings = 0
nnoremap <silent> <leader>ed :DogeGenerate<CR>
Expand Down
13 changes: 13 additions & 0 deletions nix/sources.json
Expand Up @@ -631,6 +631,19 @@
"url_template": "https://github.com/<owner>/<repo>/archive/<rev>.tar.gz",
"vim": "true"
},
"vim-terraform": {
"branch": "master",
"description": "basic vim/terraform integration",
"homepage": "http://hashivim.github.io/vim-terraform",
"owner": "hashivim",
"repo": "vim-terraform",
"rev": "ffdf2dc17aaef733164a7079f95dd74f6cda9241",
"sha256": "1y4v2hn44rjyfh18ninzyb37xxc47fl20wzhnvs5gnnhjfsyfbqj",
"type": "tarball",
"url": "https://github.com/hashivim/vim-terraform/archive/ffdf2dc17aaef733164a7079f95dd74f6cda9241.tar.gz",
"url_template": "https://github.com/<owner>/<repo>/archive/<rev>.tar.gz",
"vim": "true"
},
"vim-test": {
"branch": "master",
"description": "TODO",
Expand Down

0 comments on commit a6f756d

Please sign in to comment.