Updates from linux
This commit is contained in:
parent
3c8146c4f0
commit
ca5f071111
8 changed files with 175 additions and 38 deletions
2
init.lua
2
init.lua
|
|
@ -13,6 +13,8 @@ require('lsp.python-ls')
|
|||
require('lsp.lua-ls')
|
||||
require('lsp.elixir-ls')
|
||||
require('lsp.go-ls')
|
||||
require('lsp.ocaml-ls')
|
||||
-- require('lsp.sml-ls')
|
||||
|
||||
-- Completion
|
||||
require('nv-compe')
|
||||
|
|
|
|||
|
|
@ -47,7 +47,7 @@ vim.api.nvim_set_keymap('n', '<Leader>fb', '<cmd>Telescope file_browser<cr>', {n
|
|||
-- File brosers starting at the cwd.
|
||||
vim.api.nvim_set_keymap('n', '<Leader>fc', '<cmd>Telescope file_browser path=%:p:h<cr>', {noremap = true})
|
||||
-- Do a grep search in the current folder.
|
||||
vim.api.nvim_set_keymap('n', '<Leader>ps', '<cmd>Telescope live_grep<cr>',{})
|
||||
vim.api.nvim_set_keymap('n', '<Leader>ps', ':Rg<cr>',{})
|
||||
-- Search among the currently open buffers.
|
||||
vim.api.nvim_set_keymap('n', '<Leader>bs', '<cmd>Telescope buffers<cr>',{})
|
||||
|
||||
|
|
|
|||
2
lua/lsp/ocaml-ls.lua
Normal file
2
lua/lsp/ocaml-ls.lua
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
require("lsp-format").setup {}
|
||||
require'lspconfig'.ocamllsp.setup{ on_attach = require("lsp-format").on_attach }
|
||||
5
lua/lsp/sml-ls.lua
Normal file
5
lua/lsp/sml-ls.lua
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
local lspconfig = require "lspconfig"
|
||||
|
||||
lspconfig.millet.setup{
|
||||
autostart = yes,
|
||||
}
|
||||
|
|
@ -29,6 +29,12 @@ require'compe'.setup {
|
|||
};
|
||||
}
|
||||
|
||||
vim.cmd([[
|
||||
autocmd FileType ocaml call compe#setup({
|
||||
\ 'preselect': 'disable'
|
||||
\ }, 0)
|
||||
]])
|
||||
|
||||
local t = function(str)
|
||||
return vim.api.nvim_replace_termcodes(str, true, true, true)
|
||||
end
|
||||
|
|
@ -50,22 +56,24 @@ _G.tab_complete = function()
|
|||
return t "<Tab>"
|
||||
end
|
||||
end
|
||||
_G.enter_complete = function()
|
||||
if vim.fn.pumvisible() == 1 then
|
||||
_G.enter_complete = function()
|
||||
if vim.bo.filetype == "ocaml" then
|
||||
return t "<CR>"
|
||||
elseif vim.fn.pumvisible() == 1 then
|
||||
return vim.fn['compe#confirm']('')
|
||||
else
|
||||
return t "<CR>"
|
||||
end
|
||||
end
|
||||
|
||||
vim.api.nvim_set_keymap("i", "<C-j>", "v:lua.comp_jump_if_avail()", {expr = true})
|
||||
vim.api.nvim_set_keymap("s", "<C-j>", "v:lua.comp_jump_if_avail()", {expr = true})
|
||||
vim.api.nvim_set_keymap("i", "<C-n>", "v:lua.comp_jump_if_avail()", {expr = true})
|
||||
vim.api.nvim_set_keymap("s", "<C-n>", "v:lua.comp_jump_if_avail()", {expr = true})
|
||||
vim.api.nvim_set_keymap("i", "<C-e>", "v:lua.comp_jump_prev_if_avail()", {expr = true})
|
||||
vim.api.nvim_set_keymap("s", "<C-e>", "v:lua.comp_jump_prev_if_avail()", {expr = true})
|
||||
-- The next 4 funtcions don't work if compe doesn't automatically select the first option.
|
||||
-- meaning the preselect option has to be set to alwasy.
|
||||
vim.api.nvim_set_keymap("i", "<Tab>", "v:lua.tab_complete()", {expr = true})
|
||||
vim.api.nvim_set_keymap("s", "<Tab>", "v:lua.tab_complete()", {expr = true})
|
||||
vim.api.nvim_set_keymap("i", "<CR>", "v:lua.enter_complete()", {expr = true})
|
||||
vim.api.nvim_set_keymap("s", "<CR>", "v:lua.enter_complete()", {expr = true})
|
||||
vim.api.nvim_set_keymap("i", "<C-k>", "v:lua.comp_jump_prev_if_avail()", {expr = true})
|
||||
vim.api.nvim_set_keymap("s", "<C-k>", "v:lua.comp_jump_prev_if_avail()", {expr = true})
|
||||
|
||||
|
|
|
|||
|
|
@ -51,12 +51,14 @@ return require('packer').startup(function(use)
|
|||
|
||||
use 'airblade/vim-rooter'
|
||||
|
||||
-- Telescope
|
||||
-- Find tools.
|
||||
use { "nvim-telescope/telescope-file-browser.nvim" }
|
||||
use {
|
||||
'nvim-telescope/telescope.nvim',
|
||||
requires = {{'nvim-lua/popup.nvim'}, {'nvim-lua/plenary.nvim'}},
|
||||
}
|
||||
use { "junegunn/fzf" }
|
||||
use { "junegunn/fzf.vim" }
|
||||
|
||||
|
||||
-- Diagnostics
|
||||
|
|
@ -74,10 +76,8 @@ return require('packer').startup(function(use)
|
|||
|
||||
-- Git symobls.
|
||||
use {
|
||||
'lewis6991/gitsigns.nvim',
|
||||
requires = {
|
||||
'nvim-lua/plenary.nvim'
|
||||
},
|
||||
'lewis6991/gitsigns.nvim',
|
||||
tag = 'release',
|
||||
config = function()
|
||||
require('gitsigns').setup()
|
||||
end
|
||||
|
|
@ -95,6 +95,9 @@ return require('packer').startup(function(use)
|
|||
use {
|
||||
'psf/black', branch = "stable"
|
||||
}
|
||||
|
||||
-- Ocaml
|
||||
use "lukas-reineke/lsp-format.nvim"
|
||||
|
||||
-- Comments
|
||||
use 'tpope/vim-commentary'
|
||||
|
|
|
|||
|
|
@ -27,6 +27,7 @@ vim.cmd(":set number relativenumber")
|
|||
vim.cmd("autocmd FileType helm set nofixendofline")
|
||||
vim.cmd("autocmd FileType yaml set nofixendofline")
|
||||
vim.cmd("autocmd FileType yml set nofixendofline")
|
||||
vim.cmd("autocmd BufReadPost * :lua require('gitsigns').setup()")
|
||||
|
||||
------ Folding
|
||||
-- vim.o.foldlevel = 99
|
||||
|
|
@ -64,4 +65,17 @@ function! FilenameForLightline()
|
|||
endfunction
|
||||
]])
|
||||
|
||||
-- Custom command for ripgrep.
|
||||
vim.cmd([[
|
||||
function! RipgrepFzf(query, fullscreen)
|
||||
let command_fmt = 'rg --column --line-number --no-heading --color=always --smart-case -- %s || true'
|
||||
let initial_command = printf(command_fmt, shellescape(a:query))
|
||||
let reload_command = printf(command_fmt, '{q}')
|
||||
let spec = {'options': ['--phony', '--query', a:query, '--bind', 'change:reload:'.reload_command]}
|
||||
call fzf#vim#grep(initial_command, 1, fzf#vim#with_preview(spec), a:fullscreen)
|
||||
endfunction
|
||||
|
||||
command! -nargs=* -bang RG call RipgrepFzf(<q-args>, <bang>0)
|
||||
]])
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -44,8 +44,8 @@ local function save_profiles(threshold)
|
|||
end
|
||||
|
||||
time([[Luarocks path setup]], true)
|
||||
local package_path_str = "/Users/juva/.cache/nvim/packer_hererocks/2.1.0-beta3/share/lua/5.1/?.lua;/Users/juva/.cache/nvim/packer_hererocks/2.1.0-beta3/share/lua/5.1/?/init.lua;/Users/juva/.cache/nvim/packer_hererocks/2.1.0-beta3/lib/luarocks/rocks-5.1/?.lua;/Users/juva/.cache/nvim/packer_hererocks/2.1.0-beta3/lib/luarocks/rocks-5.1/?/init.lua"
|
||||
local install_cpath_pattern = "/Users/juva/.cache/nvim/packer_hererocks/2.1.0-beta3/lib/lua/5.1/?.so"
|
||||
local package_path_str = "/home/aym/.cache/nvim/packer_hererocks/2.1.0-beta3/share/lua/5.1/?.lua;/home/aym/.cache/nvim/packer_hererocks/2.1.0-beta3/share/lua/5.1/?/init.lua;/home/aym/.cache/nvim/packer_hererocks/2.1.0-beta3/lib/luarocks/rocks-5.1/?.lua;/home/aym/.cache/nvim/packer_hererocks/2.1.0-beta3/lib/luarocks/rocks-5.1/?/init.lua"
|
||||
local install_cpath_pattern = "/home/aym/.cache/nvim/packer_hererocks/2.1.0-beta3/lib/lua/5.1/?.so"
|
||||
if not string.find(package.path, package_path_str, 1, true) then
|
||||
package.path = package.path .. ';' .. package_path_str
|
||||
end
|
||||
|
|
@ -71,121 +71,224 @@ time([[Defining packer_plugins]], true)
|
|||
_G.packer_plugins = {
|
||||
["auto-pairs"] = {
|
||||
loaded = true,
|
||||
path = "/Users/juva/.local/share/nvim/site/pack/packer/start/auto-pairs",
|
||||
path = "/home/aym/.local/share/nvim/site/pack/packer/start/auto-pairs",
|
||||
url = "https://github.com/jiangmiao/auto-pairs"
|
||||
},
|
||||
black = {
|
||||
loaded = true,
|
||||
path = "/Users/juva/.local/share/nvim/site/pack/packer/start/black",
|
||||
path = "/home/aym/.local/share/nvim/site/pack/packer/start/black",
|
||||
url = "https://github.com/psf/black"
|
||||
},
|
||||
["gitsigns.nvim"] = {
|
||||
config = { "\27LJ\2\n6\0\0\3\0\3\0\0066\0\0\0'\2\1\0B\0\2\0029\0\2\0B\0\1\1K\0\1\0\nsetup\rgitsigns\frequire\0" },
|
||||
config = { "\27LJ\2\0026\0\0\2\0\3\0\0066\0\0\0'\1\1\0B\0\2\0029\0\2\0B\0\1\1K\0\1\0\nsetup\rgitsigns\frequire\0" },
|
||||
loaded = true,
|
||||
path = "/Users/juva/.local/share/nvim/site/pack/packer/start/gitsigns.nvim",
|
||||
path = "/home/aym/.local/share/nvim/site/pack/packer/start/gitsigns.nvim",
|
||||
url = "https://github.com/lewis6991/gitsigns.nvim"
|
||||
},
|
||||
["indent-blankline.nvim"] = {
|
||||
config = { "\27LJ\2\2æ\1\0\0\3\0\v\0\0256\0\0\0009\0\1\0+\1\2\0=\1\2\0006\0\0\0009\0\1\0009\0\3\0\18\1\0\0009\0\4\0'\2\5\0B\0\3\0016\0\0\0009\0\1\0009\0\3\0\18\1\0\0009\0\4\0'\2\6\0B\0\3\0016\0\a\0'\1\b\0B\0\2\0029\0\t\0005\1\n\0B\0\2\1K\0\1\0\1\0\2\25space_char_blankline\6 \21show_end_of_line\2\nsetup\21indent_blankline\frequire\feol:↴\14space:â‹…\vappend\14listchars\tlist\bopt\bvim\0" },
|
||||
loaded = false,
|
||||
needs_bufread = false,
|
||||
only_cond = false,
|
||||
path = "/home/aym/.local/share/nvim/site/pack/packer/opt/indent-blankline.nvim",
|
||||
url = "https://github.com/lukas-reineke/indent-blankline.nvim"
|
||||
},
|
||||
["lightline.vim"] = {
|
||||
loaded = true,
|
||||
path = "/Users/juva/.local/share/nvim/site/pack/packer/start/lightline.vim",
|
||||
path = "/home/aym/.local/share/nvim/site/pack/packer/start/lightline.vim",
|
||||
url = "https://github.com/itchyny/lightline.vim"
|
||||
},
|
||||
["lsp_signature.nvim"] = {
|
||||
loaded = true,
|
||||
path = "/Users/juva/.local/share/nvim/site/pack/packer/start/lsp_signature.nvim",
|
||||
path = "/home/aym/.local/share/nvim/site/pack/packer/start/lsp_signature.nvim",
|
||||
url = "https://github.com/ray-x/lsp_signature.nvim"
|
||||
},
|
||||
["lspsaga.nvim"] = {
|
||||
loaded = true,
|
||||
path = "/Users/juva/.local/share/nvim/site/pack/packer/start/lspsaga.nvim",
|
||||
path = "/home/aym/.local/share/nvim/site/pack/packer/start/lspsaga.nvim",
|
||||
url = "https://github.com/glepnir/lspsaga.nvim"
|
||||
},
|
||||
["nvim-compe"] = {
|
||||
loaded = true,
|
||||
path = "/Users/juva/.local/share/nvim/site/pack/packer/start/nvim-compe",
|
||||
path = "/home/aym/.local/share/nvim/site/pack/packer/start/nvim-compe",
|
||||
url = "https://github.com/hrsh7th/nvim-compe"
|
||||
},
|
||||
["nvim-lspconfig"] = {
|
||||
loaded = true,
|
||||
path = "/Users/juva/.local/share/nvim/site/pack/packer/start/nvim-lspconfig",
|
||||
path = "/home/aym/.local/share/nvim/site/pack/packer/start/nvim-lspconfig",
|
||||
url = "https://github.com/neovim/nvim-lspconfig"
|
||||
},
|
||||
["nvim-lspinstall"] = {
|
||||
loaded = true,
|
||||
path = "/Users/juva/.local/share/nvim/site/pack/packer/start/nvim-lspinstall",
|
||||
path = "/home/aym/.local/share/nvim/site/pack/packer/start/nvim-lspinstall",
|
||||
url = "https://github.com/kabouzeid/nvim-lspinstall"
|
||||
},
|
||||
["nvim-web-devicons"] = {
|
||||
loaded = true,
|
||||
path = "/Users/juva/.local/share/nvim/site/pack/packer/start/nvim-web-devicons",
|
||||
path = "/home/aym/.local/share/nvim/site/pack/packer/start/nvim-web-devicons",
|
||||
url = "https://github.com/kyazdani42/nvim-web-devicons"
|
||||
},
|
||||
["packer.nvim"] = {
|
||||
loaded = true,
|
||||
path = "/Users/juva/.local/share/nvim/site/pack/packer/start/packer.nvim",
|
||||
path = "/home/aym/.local/share/nvim/site/pack/packer/start/packer.nvim",
|
||||
url = "https://github.com/wbthomason/packer.nvim"
|
||||
},
|
||||
["palenight.vim"] = {
|
||||
loaded = true,
|
||||
path = "/Users/juva/.local/share/nvim/site/pack/packer/start/palenight.vim",
|
||||
path = "/home/aym/.local/share/nvim/site/pack/packer/start/palenight.vim",
|
||||
url = "https://github.com/drewtempelmeyer/palenight.vim"
|
||||
},
|
||||
["plenary.nvim"] = {
|
||||
loaded = true,
|
||||
path = "/Users/juva/.local/share/nvim/site/pack/packer/start/plenary.nvim",
|
||||
path = "/home/aym/.local/share/nvim/site/pack/packer/start/plenary.nvim",
|
||||
url = "https://github.com/nvim-lua/plenary.nvim"
|
||||
},
|
||||
["popup.nvim"] = {
|
||||
loaded = true,
|
||||
path = "/Users/juva/.local/share/nvim/site/pack/packer/start/popup.nvim",
|
||||
path = "/home/aym/.local/share/nvim/site/pack/packer/start/popup.nvim",
|
||||
url = "https://github.com/nvim-lua/popup.nvim"
|
||||
},
|
||||
["telescope-file-browser.nvim"] = {
|
||||
loaded = true,
|
||||
path = "/home/aym/.local/share/nvim/site/pack/packer/start/telescope-file-browser.nvim",
|
||||
url = "https://github.com/nvim-telescope/telescope-file-browser.nvim"
|
||||
},
|
||||
["telescope.nvim"] = {
|
||||
loaded = true,
|
||||
path = "/Users/juva/.local/share/nvim/site/pack/packer/start/telescope.nvim",
|
||||
path = "/home/aym/.local/share/nvim/site/pack/packer/start/telescope.nvim",
|
||||
url = "https://github.com/nvim-telescope/telescope.nvim"
|
||||
},
|
||||
["trouble.nvim"] = {
|
||||
config = { "\27LJ\2\0029\0\0\2\0\3\0\a6\0\0\0'\1\1\0B\0\2\0029\0\2\0004\1\0\0B\0\2\1K\0\1\0\nsetup\ftrouble\frequire\0" },
|
||||
loaded = true,
|
||||
path = "/home/aym/.local/share/nvim/site/pack/packer/start/trouble.nvim",
|
||||
url = "https://github.com/folke/trouble.nvim"
|
||||
},
|
||||
["vim-commentary"] = {
|
||||
loaded = true,
|
||||
path = "/Users/juva/.local/share/nvim/site/pack/packer/start/vim-commentary",
|
||||
path = "/home/aym/.local/share/nvim/site/pack/packer/start/vim-commentary",
|
||||
url = "https://github.com/tpope/vim-commentary"
|
||||
},
|
||||
["vim-gitbranch"] = {
|
||||
loaded = true,
|
||||
path = "/home/aym/.local/share/nvim/site/pack/packer/start/vim-gitbranch",
|
||||
url = "https://github.com/itchyny/vim-gitbranch"
|
||||
},
|
||||
["vim-go"] = {
|
||||
loaded = true,
|
||||
path = "/Users/juva/.local/share/nvim/site/pack/packer/start/vim-go",
|
||||
path = "/home/aym/.local/share/nvim/site/pack/packer/start/vim-go",
|
||||
url = "https://github.com/fatih/vim-go"
|
||||
},
|
||||
["vim-polyglot"] = {
|
||||
loaded = true,
|
||||
path = "/Users/juva/.local/share/nvim/site/pack/packer/start/vim-polyglot",
|
||||
path = "/home/aym/.local/share/nvim/site/pack/packer/start/vim-polyglot",
|
||||
url = "https://github.com/sheerun/vim-polyglot"
|
||||
},
|
||||
["vim-prettier"] = {
|
||||
loaded = true,
|
||||
path = "/Users/juva/.local/share/nvim/site/pack/packer/start/vim-prettier",
|
||||
loaded = false,
|
||||
needs_bufread = true,
|
||||
only_cond = false,
|
||||
path = "/home/aym/.local/share/nvim/site/pack/packer/opt/vim-prettier",
|
||||
url = "https://github.com/prettier/vim-prettier"
|
||||
},
|
||||
["vim-rooter"] = {
|
||||
loaded = true,
|
||||
path = "/Users/juva/.local/share/nvim/site/pack/packer/start/vim-rooter",
|
||||
path = "/home/aym/.local/share/nvim/site/pack/packer/start/vim-rooter",
|
||||
url = "https://github.com/airblade/vim-rooter"
|
||||
},
|
||||
["vim-smoothie"] = {
|
||||
loaded = true,
|
||||
path = "/home/aym/.local/share/nvim/site/pack/packer/start/vim-smoothie",
|
||||
url = "https://github.com/psliwka/vim-smoothie"
|
||||
},
|
||||
["vim-styled-components"] = {
|
||||
loaded = true,
|
||||
path = "/Users/juva/.local/share/nvim/site/pack/packer/start/vim-styled-components",
|
||||
path = "/home/aym/.local/share/nvim/site/pack/packer/start/vim-styled-components",
|
||||
url = "https://github.com/styled-components/vim-styled-components"
|
||||
},
|
||||
vim_current_word = {
|
||||
loaded = true,
|
||||
path = "/home/aym/.local/share/nvim/site/pack/packer/start/vim_current_word",
|
||||
url = "https://github.com/dominikduda/vim_current_word"
|
||||
}
|
||||
}
|
||||
|
||||
time([[Defining packer_plugins]], false)
|
||||
-- Config for: gitsigns.nvim
|
||||
time([[Config for gitsigns.nvim]], true)
|
||||
try_loadstring("\27LJ\2\n6\0\0\3\0\3\0\0066\0\0\0'\2\1\0B\0\2\0029\0\2\0B\0\1\1K\0\1\0\nsetup\rgitsigns\frequire\0", "config", "gitsigns.nvim")
|
||||
try_loadstring("\27LJ\2\0026\0\0\2\0\3\0\0066\0\0\0'\1\1\0B\0\2\0029\0\2\0B\0\1\1K\0\1\0\nsetup\rgitsigns\frequire\0", "config", "gitsigns.nvim")
|
||||
time([[Config for gitsigns.nvim]], false)
|
||||
-- Config for: trouble.nvim
|
||||
time([[Config for trouble.nvim]], true)
|
||||
try_loadstring("\27LJ\2\0029\0\0\2\0\3\0\a6\0\0\0'\1\1\0B\0\2\0029\0\2\0004\1\0\0B\0\2\1K\0\1\0\nsetup\ftrouble\frequire\0", "config", "trouble.nvim")
|
||||
time([[Config for trouble.nvim]], false)
|
||||
vim.cmd [[augroup packer_load_aucmds]]
|
||||
vim.cmd [[au!]]
|
||||
-- Filetype lazy-loads
|
||||
time([[Defining lazy-load filetype autocommands]], true)
|
||||
vim.cmd [[au FileType javascript ++once lua require("packer.load")({'vim-prettier'}, { ft = "javascript" }, _G.packer_plugins)]]
|
||||
vim.cmd [[au FileType typescript ++once lua require("packer.load")({'vim-prettier'}, { ft = "typescript" }, _G.packer_plugins)]]
|
||||
vim.cmd [[au FileType helm ++once lua require("packer.load")({'indent-blankline.nvim'}, { ft = "helm" }, _G.packer_plugins)]]
|
||||
vim.cmd [[au FileType yml ++once lua require("packer.load")({'indent-blankline.nvim'}, { ft = "yml" }, _G.packer_plugins)]]
|
||||
vim.cmd [[au FileType yaml ++once lua require("packer.load")({'indent-blankline.nvim'}, { ft = "yaml" }, _G.packer_plugins)]]
|
||||
vim.cmd [[au FileType json ++once lua require("packer.load")({'vim-prettier'}, { ft = "json" }, _G.packer_plugins)]]
|
||||
time([[Defining lazy-load filetype autocommands]], false)
|
||||
vim.cmd("augroup END")
|
||||
vim.cmd [[augroup filetypedetect]]
|
||||
time([[Sourcing ftdetect script at: /home/aym/.local/share/nvim/site/pack/packer/opt/vim-prettier/ftdetect/css.vim]], true)
|
||||
vim.cmd [[source /home/aym/.local/share/nvim/site/pack/packer/opt/vim-prettier/ftdetect/css.vim]]
|
||||
time([[Sourcing ftdetect script at: /home/aym/.local/share/nvim/site/pack/packer/opt/vim-prettier/ftdetect/css.vim]], false)
|
||||
time([[Sourcing ftdetect script at: /home/aym/.local/share/nvim/site/pack/packer/opt/vim-prettier/ftdetect/graphql.vim]], true)
|
||||
vim.cmd [[source /home/aym/.local/share/nvim/site/pack/packer/opt/vim-prettier/ftdetect/graphql.vim]]
|
||||
time([[Sourcing ftdetect script at: /home/aym/.local/share/nvim/site/pack/packer/opt/vim-prettier/ftdetect/graphql.vim]], false)
|
||||
time([[Sourcing ftdetect script at: /home/aym/.local/share/nvim/site/pack/packer/opt/vim-prettier/ftdetect/html.vim]], true)
|
||||
vim.cmd [[source /home/aym/.local/share/nvim/site/pack/packer/opt/vim-prettier/ftdetect/html.vim]]
|
||||
time([[Sourcing ftdetect script at: /home/aym/.local/share/nvim/site/pack/packer/opt/vim-prettier/ftdetect/html.vim]], false)
|
||||
time([[Sourcing ftdetect script at: /home/aym/.local/share/nvim/site/pack/packer/opt/vim-prettier/ftdetect/javascript.vim]], true)
|
||||
vim.cmd [[source /home/aym/.local/share/nvim/site/pack/packer/opt/vim-prettier/ftdetect/javascript.vim]]
|
||||
time([[Sourcing ftdetect script at: /home/aym/.local/share/nvim/site/pack/packer/opt/vim-prettier/ftdetect/javascript.vim]], false)
|
||||
time([[Sourcing ftdetect script at: /home/aym/.local/share/nvim/site/pack/packer/opt/vim-prettier/ftdetect/json.vim]], true)
|
||||
vim.cmd [[source /home/aym/.local/share/nvim/site/pack/packer/opt/vim-prettier/ftdetect/json.vim]]
|
||||
time([[Sourcing ftdetect script at: /home/aym/.local/share/nvim/site/pack/packer/opt/vim-prettier/ftdetect/json.vim]], false)
|
||||
time([[Sourcing ftdetect script at: /home/aym/.local/share/nvim/site/pack/packer/opt/vim-prettier/ftdetect/less.vim]], true)
|
||||
vim.cmd [[source /home/aym/.local/share/nvim/site/pack/packer/opt/vim-prettier/ftdetect/less.vim]]
|
||||
time([[Sourcing ftdetect script at: /home/aym/.local/share/nvim/site/pack/packer/opt/vim-prettier/ftdetect/less.vim]], false)
|
||||
time([[Sourcing ftdetect script at: /home/aym/.local/share/nvim/site/pack/packer/opt/vim-prettier/ftdetect/lua.vim]], true)
|
||||
vim.cmd [[source /home/aym/.local/share/nvim/site/pack/packer/opt/vim-prettier/ftdetect/lua.vim]]
|
||||
time([[Sourcing ftdetect script at: /home/aym/.local/share/nvim/site/pack/packer/opt/vim-prettier/ftdetect/lua.vim]], false)
|
||||
time([[Sourcing ftdetect script at: /home/aym/.local/share/nvim/site/pack/packer/opt/vim-prettier/ftdetect/markdown.vim]], true)
|
||||
vim.cmd [[source /home/aym/.local/share/nvim/site/pack/packer/opt/vim-prettier/ftdetect/markdown.vim]]
|
||||
time([[Sourcing ftdetect script at: /home/aym/.local/share/nvim/site/pack/packer/opt/vim-prettier/ftdetect/markdown.vim]], false)
|
||||
time([[Sourcing ftdetect script at: /home/aym/.local/share/nvim/site/pack/packer/opt/vim-prettier/ftdetect/php.vim]], true)
|
||||
vim.cmd [[source /home/aym/.local/share/nvim/site/pack/packer/opt/vim-prettier/ftdetect/php.vim]]
|
||||
time([[Sourcing ftdetect script at: /home/aym/.local/share/nvim/site/pack/packer/opt/vim-prettier/ftdetect/php.vim]], false)
|
||||
time([[Sourcing ftdetect script at: /home/aym/.local/share/nvim/site/pack/packer/opt/vim-prettier/ftdetect/ruby.vim]], true)
|
||||
vim.cmd [[source /home/aym/.local/share/nvim/site/pack/packer/opt/vim-prettier/ftdetect/ruby.vim]]
|
||||
time([[Sourcing ftdetect script at: /home/aym/.local/share/nvim/site/pack/packer/opt/vim-prettier/ftdetect/ruby.vim]], false)
|
||||
time([[Sourcing ftdetect script at: /home/aym/.local/share/nvim/site/pack/packer/opt/vim-prettier/ftdetect/scss.vim]], true)
|
||||
vim.cmd [[source /home/aym/.local/share/nvim/site/pack/packer/opt/vim-prettier/ftdetect/scss.vim]]
|
||||
time([[Sourcing ftdetect script at: /home/aym/.local/share/nvim/site/pack/packer/opt/vim-prettier/ftdetect/scss.vim]], false)
|
||||
time([[Sourcing ftdetect script at: /home/aym/.local/share/nvim/site/pack/packer/opt/vim-prettier/ftdetect/svelte.vim]], true)
|
||||
vim.cmd [[source /home/aym/.local/share/nvim/site/pack/packer/opt/vim-prettier/ftdetect/svelte.vim]]
|
||||
time([[Sourcing ftdetect script at: /home/aym/.local/share/nvim/site/pack/packer/opt/vim-prettier/ftdetect/svelte.vim]], false)
|
||||
time([[Sourcing ftdetect script at: /home/aym/.local/share/nvim/site/pack/packer/opt/vim-prettier/ftdetect/typescript.vim]], true)
|
||||
vim.cmd [[source /home/aym/.local/share/nvim/site/pack/packer/opt/vim-prettier/ftdetect/typescript.vim]]
|
||||
time([[Sourcing ftdetect script at: /home/aym/.local/share/nvim/site/pack/packer/opt/vim-prettier/ftdetect/typescript.vim]], false)
|
||||
time([[Sourcing ftdetect script at: /home/aym/.local/share/nvim/site/pack/packer/opt/vim-prettier/ftdetect/vue.vim]], true)
|
||||
vim.cmd [[source /home/aym/.local/share/nvim/site/pack/packer/opt/vim-prettier/ftdetect/vue.vim]]
|
||||
time([[Sourcing ftdetect script at: /home/aym/.local/share/nvim/site/pack/packer/opt/vim-prettier/ftdetect/vue.vim]], false)
|
||||
time([[Sourcing ftdetect script at: /home/aym/.local/share/nvim/site/pack/packer/opt/vim-prettier/ftdetect/xml.vim]], true)
|
||||
vim.cmd [[source /home/aym/.local/share/nvim/site/pack/packer/opt/vim-prettier/ftdetect/xml.vim]]
|
||||
time([[Sourcing ftdetect script at: /home/aym/.local/share/nvim/site/pack/packer/opt/vim-prettier/ftdetect/xml.vim]], false)
|
||||
time([[Sourcing ftdetect script at: /home/aym/.local/share/nvim/site/pack/packer/opt/vim-prettier/ftdetect/yaml.vim]], true)
|
||||
vim.cmd [[source /home/aym/.local/share/nvim/site/pack/packer/opt/vim-prettier/ftdetect/yaml.vim]]
|
||||
time([[Sourcing ftdetect script at: /home/aym/.local/share/nvim/site/pack/packer/opt/vim-prettier/ftdetect/yaml.vim]], false)
|
||||
vim.cmd("augroup END")
|
||||
if should_profile then save_profiles() end
|
||||
|
||||
end)
|
||||
|
||||
if not no_errors then
|
||||
error_msg = error_msg:gsub('"', '\\"')
|
||||
vim.api.nvim_command('echohl ErrorMsg | echom "Error in packer_compiled: '..error_msg..'" | echom "Please check your config for correctness" | echohl None')
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue