dotfiles-public icon indicating copy to clipboard operation
dotfiles-public copied to clipboard

packer bootstrap, autoinstall servers

Open maxmx03 opened this issue 2 years ago • 7 comments

Changes

  • packer will be installed automatically
  • mason will install servers automatically (everytime you add new server config in lspconfig.lua)
  • plugins config moved to ftdetect: mason.lua need to load before lspconfig.lua

Reason

These changes will help new users.

maxmx03 avatar Aug 22 '22 21:08 maxmx03

@maxmx03 hey were you able to enable format on save on all file extension types for each language type?

MrShortcut avatar Aug 27 '22 22:08 MrShortcut

@maxmx03 hey were you able to enable format on save on all file extension types for each language type?

yes, the plugin Takuya use to format javascript files didnt work for me, i had to config null-ls to start working.

Captura de tela de 2022-08-27 23-48-01

maxmx03 avatar Aug 28 '22 02:08 maxmx03

@maxmx03 Do you have them in a public repository? Mine are public but similar to Takuya's and they don't work for me either ; ( Can you give me a hand?

MrShortcut avatar Aug 29 '22 05:08 MrShortcut

Thanks for the PR, will look into it

craftzdog avatar Sep 02 '22 07:09 craftzdog

Why are other plugins like colorizer moved to ftdetect? just moving mason.rc.lua to plugin/0_mason.rc.lua solves the issue, no?

craftzdog avatar Sep 02 '22 07:09 craftzdog

Why are other plugins like colorizer moved to ftdetect? just moving mason.rc.lua to plugin/0_mason.rc.lua solves the issue, no?

yes you can do that or you can move only mason.rc.lua to ftdetect folder, i moved everything just to keep your files organized.

maxmx03 avatar Sep 15 '22 02:09 maxmx03

mason 'auto_installation' not working for me.. It's not installing server configured in lspconfig.lua

nvm... I tried this and it worked just fine :)

just moving mason.rc.lua to plugin/0_mason.rc.lua solves the issue, no?

gmdevz avatar Oct 10 '22 17:10 gmdevz