mirror of
https://github.com/LunarVim/LunarVim.git
synced 2025-08-04 01:55:08 +02:00
trying to get react commenting to work
This commit is contained in:
parent
cd05394d91
commit
570d317285
7 changed files with 72 additions and 349 deletions
8
init.lua
8
init.lua
|
@ -1,12 +1,11 @@
|
|||
if vim.g.vscode then
|
||||
vim.cmd('source ~/.config/nvim/lua/nv-vscode/init.vim')
|
||||
vim.cmd('source ~/.config/nvim/vimscript/nv-vscode/init.vim')
|
||||
else
|
||||
-- General mappings
|
||||
require('plugins')
|
||||
require('keymappings')
|
||||
require('settings')
|
||||
require('colorscheme')
|
||||
require('utils')
|
||||
|
||||
-- Plugins
|
||||
require('nv-compe')
|
||||
|
@ -31,7 +30,8 @@ else
|
|||
require('nv-gitblame')
|
||||
|
||||
-- Which Key (Hope to replace with Lua plugin someday)
|
||||
vim.cmd('source ~/.config/nvim/lua/nv-whichkey/init.vim')
|
||||
vim.cmd('source ~/.config/nvim/vimscript/nv-whichkey/init.vim')
|
||||
-- vim.cmd('source ~/.config/nvim/vimscript/nv-commentary/init.vim')
|
||||
|
||||
-- LSP
|
||||
require('lsp')
|
||||
|
@ -42,4 +42,6 @@ else
|
|||
require('lsp.python-ls')
|
||||
require('lsp.json-ls')
|
||||
require('lsp.yaml-ls')
|
||||
require('utils')
|
||||
vim.cmd([[autocmd BufRead * lua print("hi")]])
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue