friendly-snippets

This commit is contained in:
Chris 2021-03-27 21:10:23 -04:00
parent 56798ec142
commit 54e745deca
4 changed files with 11 additions and 7 deletions

View file

@ -1,5 +1,6 @@
O = {
auto_close_tree = 0,
auto_complete = true,
colorscheme = 'nvcode',
python = {

View file

@ -19,7 +19,7 @@ vim.g.nvim_tree_disable_netrw = 0 --"1 by default, disables netrw
vim.g.nvim_tree_hide_dotfiles = 1 --0 by default, this option hides files and folders starting with a dot `.`
vim.g.nvim_tree_indent_markers = 1 --"0 by default, this option shows indent markers when folders are open
vim.g.nvim_tree_follow = 1 --"0 by default, this option allows the cursor to be updated when entering a buffer
vim.g.nvim_tree_auto_close = 0 --0 by default, closes the tree when it's the last window
vim.g.nvim_tree_auto_close = O.auto_close_tree --0 by default, closes the tree when it's the last window
vim.g.nvim_tree_auto_ignore_ft = 'startify' --"empty by default, don't auto open tree on specific filetypes.
local tree_cb = require'nvim-tree.config'.nvim_tree_callback
vim.g.nvim_tree_bindings = {

View file

@ -39,13 +39,14 @@ return require('packer').startup(function(use)
use 'hrsh7th/nvim-compe'
use 'mattn/emmet-vim'
use 'hrsh7th/vim-vsnip'
use 'xabikos/vscode-javascript'
use 'dsznajder/vscode-es7-javascript-react-snippets'
use 'golang/vscode-go'
use 'rust-lang/vscode-rust'
use 'ChristianChiarulli/html-snippets'
use 'ChristianChiarulli/java-snippets'
use 'ChristianChiarulli/python-snippets'
use "rafamadriz/friendly-snippets"
-- use 'xabikos/vscode-javascript'
-- use 'dsznajder/vscode-es7-javascript-react-snippets'
-- use 'golang/vscode-go'
-- use 'rust-lang/vscode-rust'
-- use 'ChristianChiarulli/html-snippets'
-- use 'ChristianChiarulli/python-snippets'
-- Treesitter
use {'nvim-treesitter/nvim-treesitter', run = ':TSUpdate'}

View file

@ -11,6 +11,8 @@ an executable
-- general
O.auto_complete = true
O.colorscheme = 'nvcode'
O.auto_close_tree = 0
-- python
-- add things like O.python.formatter.yapf.exec_path