ktfmt
This commit is contained in:
@ -61,13 +61,13 @@ return {
|
||||
{ name = "emoji" },
|
||||
{ name = "async_path" },
|
||||
{ name = "spell" },
|
||||
{ name = "buffer", option = { keyword_pattern = [[\k\+]] }, priority = 1 },
|
||||
-- { name = "buffer", option = { keyword_pattern = [[\k\+]] }, priority = 1 },
|
||||
-- { name = "buffer-lines" },
|
||||
})
|
||||
|
||||
if use_google() then
|
||||
table.insert(conditionalSources, { name = "analysislsp", priority = 5 })
|
||||
table.insert(conditionalSources, { name = "nvim_ciderlsp", priority = 9 })
|
||||
table.insert(conditionalSources, { name = "nvim_ciderlsp", priority = 8 })
|
||||
else
|
||||
table.insert(conditionalSources, { name = "cmp_tabnine", priority = 9 })
|
||||
end
|
||||
|
@ -74,7 +74,7 @@ return {
|
||||
dependencies = { "glaive" },
|
||||
config = function()
|
||||
vim.cmd(
|
||||
[[Glaive codefmt ktfmt_executable=`["/google/bin/releases/kotlin-google-eng/ktfmt/ktfmt_deploy.jar", "--google-style"]`]]
|
||||
[[Glaive codefmt gofmt_executable=/usr/lib/google-golang/bin/gofmt ktfmt_executable=/google/bin/releases/kotlin-google-eng/ktfmt/ktfmt,--google-style]]
|
||||
)
|
||||
end,
|
||||
},
|
||||
|
@ -7,8 +7,6 @@ return {
|
||||
"nvim-lua/lsp-status.nvim",
|
||||
"VonHeikemen/lsp-zero.nvim",
|
||||
"rcarriga/nvim-notify",
|
||||
"ldelossa/litee.nvim",
|
||||
"ldelossa/litee-calltree.nvim",
|
||||
},
|
||||
keys = {
|
||||
{ "<leader>rn", "<cmd>lua vim.lsp.buf.rename()<CR>" },
|
||||
@ -36,9 +34,6 @@ return {
|
||||
local lsp_status = require("lsp-status")
|
||||
lsp_status.register_progress()
|
||||
|
||||
require("litee.lib").setup({})
|
||||
require("litee.calltree").setup({})
|
||||
|
||||
vim.opt.spell = true
|
||||
vim.opt.spelllang = { "en_us" }
|
||||
|
||||
|
Reference in New Issue
Block a user