diff --git a/init.lua b/init.lua index efdcf7f3..2357b249 100644 --- a/init.lua +++ b/init.lua @@ -93,6 +93,9 @@ vim.g.maplocalleader = ' ' -- Set to true if you have a Nerd Font installed and selected in the terminal vim.g.have_nerd_font = true +-- Set to setup the python environment +vim.g.python_host_prog = '/usr/local/bin/python3' + -- [[ Setting options ]] -- See `:help vim.opt` -- NOTE: You can change these options as you wish! @@ -605,7 +608,7 @@ require('lazy').setup({ -- - settings (table): Override the default settings passed when initializing the server. -- For example, to see the options for `lua_ls`, you could go to: https://luals.github.io/wiki/settings/ local servers = { - clangd = {}, + -- clangd = {}, gopls = {}, pyright = {}, rust_analyzer = {}, @@ -704,6 +707,7 @@ require('lazy').setup({ -- -- You can use 'stop_after_first' to run the first available formatter from the list -- javascript = { "prettierd", "prettier", stop_after_first = true }, + proto = { 'buf' }, }, }, }, diff --git a/lua/custom/plugins/init.lua b/lua/custom/plugins/init.lua index d1f8e006..313f2a89 100644 --- a/lua/custom/plugins/init.lua +++ b/lua/custom/plugins/init.lua @@ -13,4 +13,5 @@ return { require('fzf-lua').setup {} end, }, + require('lspconfig').bufls.setup {}, }