Skip to content

Commit

Permalink
Add bruno
Browse files Browse the repository at this point in the history
  • Loading branch information
llago-atlassian committed Nov 22, 2023
1 parent 902df43 commit a3eb553
Show file tree
Hide file tree
Showing 6 changed files with 31 additions and 22 deletions.
2 changes: 2 additions & 0 deletions Brewfile
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@ brew "tmate"
brew "bat"
brew "fd"
brew "tree"
brew "fsouza/prettierd/prettierd"
brew "bruno"

cask "stats"
cask "docker"
Expand Down
2 changes: 1 addition & 1 deletion macos-bootstrap.sh
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ ln -sf $(pwd)/zshrc "${HOME}/.zshrc"
ln -sf $(pwd)/tmux.conf "${HOME}/.tmux.conf"
ln -sf $(pwd)/tmate.conf "${HOME}/.tmate.conf"
ln -sf $(pwd)/gitconfig "${HOME}/.gitconfig"
ln -s "$(pwd)/nvim" "${HOME}/.config/nvim"
ln -sf "$(pwd)/nvim" "${HOME}/.config/nvim"

mkdir -p "${HOME}/.config/coc/extensions"

Expand Down
3 changes: 2 additions & 1 deletion nvim/after/plugin/colors.lua
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
vim.o.background = "dark" -- or "light" for light mode
vim.cmd([[colorscheme gruvbox]])
-- Load the colorscheme
vim.cmd[[colorscheme gruvbox]]
6 changes: 4 additions & 2 deletions nvim/after/plugin/lsp.lua
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,10 @@ table.insert(cmp_sources, { name = 'nvim_lsp_signature_help' })

-- disable completion with tab
-- this helps with copilot setup
cmp_mappings['<Tab>'] = nil
cmp_mappings['<S-Tab>'] = nil
-- cmp_mappings['<Tab>'] = nil
-- cmp_mappings['<S-Tab>'] = nil
vim.g.copilot_no_tab_map = true
vim.api.nvim_set_keymap("i", "<C-L>", 'copilot#Accept("<CR>")', { silent = true, expr = true })

lsp.setup_nvim_cmp({
mapping = cmp_mappings,
Expand Down
37 changes: 20 additions & 17 deletions nvim/after/plugin/prettier.lua
Original file line number Diff line number Diff line change
@@ -1,19 +1,22 @@
local prettier = require("prettier")

prettier.setup({
bin = 'prettier', -- or `'prettierd'` (v0.23.3+)
filetypes = {
"css",
"graphql",
"html",
"javascript",
"javascriptreact",
"json",
"less",
"markdown",
"scss",
"typescript",
"typescriptreact",
"yaml",
},
})
-- prettier.setup({
-- bin = 'prettierd', -- or `'prettierd'` (v0.23.3+)
-- filetypes = {
-- "css",
-- "graphql",
-- "html",
-- "javascript",
-- "javascriptreact",
-- "json",
-- "less",
-- "markdown",
-- "scss",
-- "typescript",
-- "typescriptreact",
-- "yaml",
-- },
-- cli_options = {
-- config_precedence = "prefer-file",
-- },
-- })
3 changes: 2 additions & 1 deletion nvim/lua/llago/packer.lua
Original file line number Diff line number Diff line change
Expand Up @@ -59,15 +59,16 @@ return require('packer').startup(function(use)
{ 'saadparwaiz1/cmp_luasnip' },
{ 'hrsh7th/cmp-nvim-lsp' },
{ 'hrsh7th/cmp-nvim-lua' },

-- Help signatures for function parameters in insert
{'hrsh7th/cmp-nvim-lsp-signature-help'},

-- Snippets
{ 'L3MON4D3/LuaSnip' },
{ 'rafamadriz/friendly-snippets' },

}
}

-- Status line
use {
'nvim-lualine/lualine.nvim',
Expand Down

0 comments on commit a3eb553

Please sign in to comment.