Browse Source

Merge branch 'master' of git.tovijaeschke.xyz:tovi/dotfiles

master^2
Tovi Jaeschke-Rogers 3 days ago
parent
commit
386b99273d
5 changed files with 24 additions and 2 deletions
  1. +1
    -1
      .config/nvim/lua/core/autocmd.lua
  2. +6
    -0
      .config/nvim/lua/plugins/csvview.lua
  3. +2
    -1
      .config/nvim/lua/plugins/lspconfig.lua
  4. +13
    -0
      .config/nvim/lua/plugins/nvim-cmp.lua
  5. +2
    -0
      .config/zsh/.zshrc

+ 1
- 1
.config/nvim/lua/core/autocmd.lua View File

@ -28,7 +28,7 @@ local aucmd_dict = {
FileType = {
{
-- Set tabstop to 2 for Dart, Vue, JavaScript, TypeScript, and JSON files
pattern = "html,dart,vue,javascript,typescript,json,markdown,css,sass",
pattern = "html,dart,vue,javascript,typescript,typescriptreact,json,markdown,css,sass",
callback = function()
vim.opt_local.tabstop = 2
vim.opt_local.softtabstop = 2


+ 6
- 0
.config/nvim/lua/plugins/csvview.lua View File

@ -0,0 +1,6 @@
return {
'hat0uma/csvview.nvim',
config = function()
require('csvview').setup()
end
}

+ 2
- 1
.config/nvim/lua/plugins/lspconfig.lua View File

@ -168,7 +168,7 @@ return {
{
name = "@vue/typescript-plugin",
location = base_path .. "/@vue/typescript-plugin",
languages = { "javascript", "typescript", "vue" },
languages = { "javascript", "typescript", "vue", "react" },
},
},
},
@ -176,6 +176,7 @@ return {
"javascript",
"typescript",
"vue",
"typescriptreact",
},
commands = {
OrganizeImports = {


+ 13
- 0
.config/nvim/lua/plugins/nvim-cmp.lua View File

@ -28,6 +28,8 @@ return {
"hrsh7th/cmp-buffer",
"hrsh7th/cmp-path",
"hrsh7th/cmp-nvim-lsp-signature-help",
"Snikimonkd/cmp-go-pkgs",
},
config = function()
local cmp = require("cmp")
@ -68,11 +70,21 @@ return {
{ name = "buffer" },
{ name = "path" },
{ name = "vim-dadbod-completion" },
{ name = "go_pkgs" },
},
matching = {
disallow_fullfuzzy_matching = false,
disallow_partial_fuzzy_matching = false,
disallow_fuzzy_matching = false,
disallow_partial_matching = false,
disallow_symbol_nonprefix_matching = false,
disallow_prefix_unmatching = false,
},
formatting = {
expandable_indicator = true,
fields = { "abbr", "kind", "menu" },
format = lspkind.cmp_format({
with_text = true,
mode = "symbol_text",
menu = {
nvim_lua = "[API]",
@ -81,6 +93,7 @@ return {
vim_dadbod_completion = "[DBUI]",
path = "[PATH]",
buffer = "[BUFF]",
go_pkgs = "[PKGS]",
},
}),
},


+ 2
- 0
.config/zsh/.zshrc View File

@ -114,5 +114,7 @@ if [ -f "$HOME/.cargo/env" ]; then
. "$HOME/.cargo/env"
fi
export PATH=~/.config/composer/vendor/bin:$PATH
# Speed debugging
# zprof

Loading…
Cancel
Save