mirror of
https://github.com/LunarVim/LunarVim.git
synced 2025-08-03 01:25:03 +02:00
friendly-snippets
This commit is contained in:
parent
56798ec142
commit
54e745deca
4 changed files with 11 additions and 7 deletions
|
@ -1,5 +1,6 @@
|
|||
O = {
|
||||
|
||||
auto_close_tree = 0,
|
||||
auto_complete = true,
|
||||
colorscheme = 'nvcode',
|
||||
python = {
|
||||
|
|
|
@ -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 = {
|
||||
|
|
|
@ -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'}
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue