Update
- Add php lang - Add lazygit conf - Reconf icons - Try fix
This commit is contained in:
parent
693ff850d5
commit
a649e15e92
7 changed files with 27 additions and 1 deletions
|
@ -2,6 +2,7 @@ function configure_packages()
|
|||
call_with_helpers(require('plugins.lspconfig').init)
|
||||
call_with_helpers(require('plugins.compe').init)
|
||||
call_with_helpers(require('plugins.nvim-treesitter').init)
|
||||
call_with_helpers(require('plugins.web-devicons').init)
|
||||
end
|
||||
|
||||
function install_packages()
|
||||
|
|
|
@ -3,6 +3,7 @@ local function init()
|
|||
call_with_helpers(require('plugins.lspconfig.rust').init)
|
||||
call_with_helpers(require('plugins.lspconfig.typescript').init)
|
||||
call_with_helpers(require('plugins.lspconfig.ruby').init)
|
||||
call_with_helpers(require('plugins.lspconfig.php').init)
|
||||
end
|
||||
|
||||
return {
|
||||
|
|
7
configs/nvim/lua/plugins/lspconfig/php.lua
Normal file
7
configs/nvim/lua/plugins/lspconfig/php.lua
Normal file
|
@ -0,0 +1,7 @@
|
|||
local function init()
|
||||
require'lspconfig'.phpactor.setup{}
|
||||
end
|
||||
|
||||
return {
|
||||
init = init
|
||||
}
|
12
configs/nvim/lua/plugins/web-devicons.lua
Normal file
12
configs/nvim/lua/plugins/web-devicons.lua
Normal file
|
@ -0,0 +1,12 @@
|
|||
local function init()
|
||||
require'nvim-web-devicons'.setup {
|
||||
-- globally enable default icons (default to false)
|
||||
-- will get overriden by `get_icons` option
|
||||
default = true;
|
||||
}
|
||||
require'nvim-web-devicons'.get_icons()
|
||||
end
|
||||
|
||||
return {
|
||||
init = init
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue