feat: light and beautiful neovim config (only 0.12 support for now)
This commit is contained in:
@@ -1,5 +1,3 @@
|
||||
|
||||
|
||||
################
|
||||
### MONITORS ###
|
||||
################
|
||||
@@ -132,7 +130,7 @@ input {
|
||||
kb_layout = us,ru
|
||||
kb_variant =
|
||||
kb_model =
|
||||
kb_options =
|
||||
kb_options = grp:alt_shift_toggle
|
||||
kb_rules =
|
||||
|
||||
follow_mouse = 1
|
||||
|
||||
@@ -1,54 +0,0 @@
|
||||
Graphics Backend used: svp
|
||||
Passed Tests: 66
|
||||
Quirky Tests: 36
|
||||
Failed Tests: 1
|
||||
Skipped Tests: 6
|
||||
|
||||
---Name of the tests that failed---
|
||||
testDrawInvertN50WithRectangle
|
||||
|
||||
---Name of the tests that were Quirky---
|
||||
testDrawRectWithLine
|
||||
testDrawRectWithPolygon
|
||||
testDrawRectWithPolyLine
|
||||
testDrawRectWithPolyPolygon
|
||||
testDrawRectWithPolyPolygonB2D
|
||||
testDrawDiamondWithLine
|
||||
testComplexDrawTransformedBitmap24bpp
|
||||
testDashedLine
|
||||
testLinearGradientBorder
|
||||
testLinearGradientSteps
|
||||
testRadialGradient
|
||||
testRadialGradientOfs
|
||||
testHalfEllipseWithPolyLine
|
||||
testHalfEllipseAAWithPolyLine
|
||||
testHalfEllipseAAWithPolyLineB2D
|
||||
testHalfEllipseWithPolygon
|
||||
testHalfEllipseAAWithPolygon
|
||||
testTextDrawing
|
||||
testDrawRectangleOnSize1028WithPixel
|
||||
testDrawRectangleOnSize4096WithPixel
|
||||
testDrawRectangleOnSize1028WithLine
|
||||
testDrawRectangleOnSize4096WithLine
|
||||
testDrawRectangleOnSize1028WithPolyLine
|
||||
testDrawRectangleOnSize4096WithPolyLine
|
||||
testDrawRectangleOnSize1028WithPolygon
|
||||
testDrawRectangleOnSize4096WithPolygon
|
||||
testDrawRectangleOnSize1028WithPolyLineB2D
|
||||
testDrawRectangleOnSize4096WithPolyLineB2D
|
||||
testDrawRectangleOnSize1028WithPolyPolygon
|
||||
testDrawRectangleOnSize4096WithPolyPolygon
|
||||
testDrawRectangleOnSize1028WithPolyPolygonB2D
|
||||
testDrawRectangleOnSize4096WithPolygonPolygonB2D
|
||||
testDrawOpenPolygonWithPolyLine
|
||||
testDrawOpenPolygonWithPolygon
|
||||
testDrawOpenPolygonWithPolyPolygon
|
||||
testDrawOpenPolygonWithPolyPolygonB2D
|
||||
|
||||
---Name of the tests that were Skipped---
|
||||
testDrawInvertTrackFrameWithRectangle
|
||||
testDrawBitmap32bpp
|
||||
testDrawTransformedBitmap32bpp
|
||||
testDrawBitmapExWithAlpha32bpp
|
||||
testDrawMask32bpp
|
||||
testDrawBlend32bpp
|
||||
Binary file not shown.
@@ -1,24 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE script:module PUBLIC "-//OpenOffice.org//DTD OfficeDocument 1.0//EN" "module.dtd">
|
||||
<!--
|
||||
* This file is part of the LibreOffice project.
|
||||
*
|
||||
* This Source Code Form is subject to the terms of the Mozilla Public
|
||||
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
||||
*
|
||||
* This file incorporates work covered by the following license notice:
|
||||
*
|
||||
* Licensed to the Apache Software Foundation (ASF) under one or more
|
||||
* contributor license agreements. See the NOTICE file distributed
|
||||
* with this work for additional information regarding copyright
|
||||
* ownership. The ASF licenses this file to you under the Apache
|
||||
* License, Version 2.0 (the "License"); you may not use this file
|
||||
* except in compliance with the License. You may obtain a copy of
|
||||
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
|
||||
-->
|
||||
<script:module xmlns:script="http://openoffice.org/2000/script" script:name="Module1" script:language="StarBasic">REM ***** BASIC *****
|
||||
|
||||
Sub Main
|
||||
|
||||
End Sub</script:module>
|
||||
@@ -1,3 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE library:library PUBLIC "-//OpenOffice.org//DTD OfficeDocument 1.0//EN" "library.dtd">
|
||||
<library:library xmlns:library="http://openoffice.org/2000/library" library:name="Standard" library:readonly="false" library:passwordprotected="false"/>
|
||||
@@ -1,5 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE library:library PUBLIC "-//OpenOffice.org//DTD OfficeDocument 1.0//EN" "library.dtd">
|
||||
<library:library xmlns:library="http://openoffice.org/2000/library" library:name="Standard" library:readonly="false" library:passwordprotected="false">
|
||||
<library:element library:name="Module1"/>
|
||||
</library:library>
|
||||
@@ -1,5 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE library:libraries PUBLIC "-//OpenOffice.org//DTD OfficeDocument 1.0//EN" "libraries.dtd">
|
||||
<library:libraries xmlns:library="http://openoffice.org/2000/library" xmlns:xlink="http://www.w3.org/1999/xlink">
|
||||
<library:library library:name="Standard" xlink:href="$(USER)/basic/Standard/dialog.xlb/" xlink:type="simple" library:link="false"/>
|
||||
</library:libraries>
|
||||
@@ -1,5 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE library:libraries PUBLIC "-//OpenOffice.org//DTD OfficeDocument 1.0//EN" "libraries.dtd">
|
||||
<library:libraries xmlns:library="http://openoffice.org/2000/library" xmlns:xlink="http://www.w3.org/1999/xlink">
|
||||
<library:library library:name="Standard" xlink:href="$(USER)/basic/Standard/script.xlb/" xlink:type="simple" library:link="false"/>
|
||||
</library:libraries>
|
||||
Binary file not shown.
@@ -1,2 +0,0 @@
|
||||
Arial
|
||||
|
||||
@@ -1,9 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!--This is a generated file. Do not alter this file!-->
|
||||
<java xmlns="http://openoffice.org/2004/java/framework/1.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
|
||||
<enabled xsi:nil="true"></enabled>
|
||||
<userClassPath xsi:nil="true"></userClassPath>
|
||||
<vmParameters xsi:nil="true"></vmParameters>
|
||||
<jreLocations xsi:nil="true"></jreLocations>
|
||||
<javaInfo xsi:nil="true"></javaInfo>
|
||||
</java>
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -1 +0,0 @@
|
||||
580(Build:2)
|
||||
@@ -1,5 +0,0 @@
|
||||
Pmp1<EFBFBD>com.sun.wiki-publisher
|
||||
wiki-publisher<65>wiki-publisher<65>application/vnd.sun.star.package-bundle<6C>1.2.0<EFBFBD>0
|
||||
<EFBFBD>com.sun.star.comp.Calc.NLPSolver
|
||||
nlpsolver<EFBFBD>nlpsolver<EFBFBD>application/vnd.sun.star.package-bundle<6C>0.9<EFBFBD>0
|
||||
|
||||
@@ -1 +0,0 @@
|
||||
1
|
||||
@@ -1,2 +0,0 @@
|
||||
<?xml version="1.0"?>
|
||||
<ext:extension-backend-db xmlns:ext="http://openoffice.org/extensionmanager/extension-registry/2010"><ext:extension url="vnd.sun.star.expand:$BUNDLED_EXTENSIONS/nlpsolver"><ext:extension-items><ext:item><ext:url>vnd.sun.star.expand:$BUNDLED_EXTENSIONS/nlpsolver/help</ext:url><ext:media-type>application/vnd.sun.star.help</ext:media-type></ext:item><ext:item><ext:url>vnd.sun.star.expand:$BUNDLED_EXTENSIONS/nlpsolver/components.rdb</ext:url><ext:media-type>application/vnd.sun.star.uno-components</ext:media-type></ext:item></ext:extension-items></ext:extension><ext:extension url="vnd.sun.star.expand:$BUNDLED_EXTENSIONS/wiki-publisher"><ext:extension-items><ext:item><ext:url>vnd.sun.star.expand:$BUNDLED_EXTENSIONS/wiki-publisher/help</ext:url><ext:media-type>application/vnd.sun.star.help</ext:media-type></ext:item><ext:item><ext:url>vnd.sun.star.expand:$BUNDLED_EXTENSIONS/wiki-publisher/WikiExtension.xcs</ext:url><ext:media-type>application/vnd.sun.star.configuration-schema</ext:media-type></ext:item><ext:item><ext:url>vnd.sun.star.expand:$BUNDLED_EXTENSIONS/wiki-publisher/WikiEditor/</ext:url><ext:media-type>application/vnd.sun.star.basic-library</ext:media-type></ext:item><ext:item><ext:url>vnd.sun.star.expand:$BUNDLED_EXTENSIONS/wiki-publisher/components.rdb</ext:url><ext:media-type>application/vnd.sun.star.uno-components</ext:media-type></ext:item><ext:item><ext:url>vnd.sun.star.expand:$BUNDLED_EXTENSIONS/wiki-publisher/Addons.xcu</ext:url><ext:media-type>application/vnd.sun.star.configuration-data</ext:media-type></ext:item><ext:item><ext:url>vnd.sun.star.expand:$BUNDLED_EXTENSIONS/wiki-publisher/ProtocolHandler.xcu</ext:url><ext:media-type>application/vnd.sun.star.configuration-data</ext:media-type></ext:item><ext:item><ext:url>vnd.sun.star.expand:$BUNDLED_EXTENSIONS/wiki-publisher/WikiExtension.xcu</ext:url><ext:media-type>application/vnd.sun.star.configuration-data</ext:media-type></ext:item><ext:item><ext:url>vnd.sun.star.expand:$BUNDLED_EXTENSIONS/wiki-publisher/OptionsDialog.xcu</ext:url><ext:media-type>application/vnd.sun.star.configuration-data</ext:media-type></ext:item><ext:item><ext:url>vnd.sun.star.expand:$BUNDLED_EXTENSIONS/wiki-publisher/Filter.xcu</ext:url><ext:media-type>application/vnd.sun.star.configuration-data</ext:media-type></ext:item><ext:item><ext:url>vnd.sun.star.expand:$BUNDLED_EXTENSIONS/wiki-publisher/Types.xcu</ext:url><ext:media-type>application/vnd.sun.star.configuration-data</ext:media-type></ext:item><ext:item><ext:url>vnd.sun.star.expand:$BUNDLED_EXTENSIONS/wiki-publisher/Paths.xcu</ext:url><ext:media-type>application/vnd.sun.star.configuration-data</ext:media-type></ext:item></ext:extension-items></ext:extension></ext:extension-backend-db>
|
||||
@@ -1,2 +0,0 @@
|
||||
ORIGIN=$BUNDLED_EXTENSIONS_USER/registry/com.sun.star.comp.deployment.component.PackageRegistryBackend
|
||||
UNO_SERVICES=?$BUNDLED_EXTENSIONS/wiki-publisher/components.rdb ?$BUNDLED_EXTENSIONS/nlpsolver/components.rdb
|
||||
@@ -1,2 +0,0 @@
|
||||
<?xml version="1.0"?>
|
||||
<conf:configuration-backend-db xmlns:conf="http://openoffice.org/extensionmanager/configuration-registry/2010"><conf:configuration url="vnd.sun.star.expand:$BUNDLED_EXTENSIONS/wiki-publisher/WikiExtension.xcs"><conf:ini-entry>$BUNDLED_EXTENSIONS/wiki-publisher/WikiExtension.xcs</conf:ini-entry></conf:configuration><conf:configuration url="vnd.sun.star.expand:$BUNDLED_EXTENSIONS/wiki-publisher/Addons.xcu"><conf:ini-entry>$BUNDLED_EXTENSIONS/wiki-publisher/Addons.xcu</conf:ini-entry></conf:configuration><conf:configuration url="vnd.sun.star.expand:$BUNDLED_EXTENSIONS/wiki-publisher/ProtocolHandler.xcu"><conf:ini-entry>$BUNDLED_EXTENSIONS/wiki-publisher/ProtocolHandler.xcu</conf:ini-entry></conf:configuration><conf:configuration url="vnd.sun.star.expand:$BUNDLED_EXTENSIONS/wiki-publisher/WikiExtension.xcu"><conf:ini-entry>$BUNDLED_EXTENSIONS/wiki-publisher/WikiExtension.xcu</conf:ini-entry></conf:configuration><conf:configuration url="vnd.sun.star.expand:$BUNDLED_EXTENSIONS/wiki-publisher/OptionsDialog.xcu"><conf:data-url>vnd.sun.star.expand:$BUNDLED_EXTENSIONS_USER/registry/com.sun.star.comp.deployment.configuration.PackageRegistryBackend/lu2116xqr.tmp</conf:data-url><conf:ini-entry>$BUNDLED_EXTENSIONS_USER/registry/com.sun.star.comp.deployment.configuration.PackageRegistryBackend/lu2116xqr.tmp/OptionsDialog.xcu</conf:ini-entry></conf:configuration><conf:configuration url="vnd.sun.star.expand:$BUNDLED_EXTENSIONS/wiki-publisher/Filter.xcu"><conf:data-url>vnd.sun.star.expand:$BUNDLED_EXTENSIONS_USER/registry/com.sun.star.comp.deployment.configuration.PackageRegistryBackend/lu2116xqs.tmp</conf:data-url><conf:ini-entry>$BUNDLED_EXTENSIONS_USER/registry/com.sun.star.comp.deployment.configuration.PackageRegistryBackend/lu2116xqs.tmp/Filter.xcu</conf:ini-entry></conf:configuration><conf:configuration url="vnd.sun.star.expand:$BUNDLED_EXTENSIONS/wiki-publisher/Types.xcu"><conf:ini-entry>$BUNDLED_EXTENSIONS/wiki-publisher/Types.xcu</conf:ini-entry></conf:configuration><conf:configuration url="vnd.sun.star.expand:$BUNDLED_EXTENSIONS/wiki-publisher/Paths.xcu"><conf:data-url>vnd.sun.star.expand:$BUNDLED_EXTENSIONS_USER/registry/com.sun.star.comp.deployment.configuration.PackageRegistryBackend/lu2116xqu.tmp</conf:data-url><conf:ini-entry>$BUNDLED_EXTENSIONS_USER/registry/com.sun.star.comp.deployment.configuration.PackageRegistryBackend/lu2116xqu.tmp/Paths.xcu</conf:ini-entry></conf:configuration></conf:configuration-backend-db>
|
||||
@@ -1,2 +0,0 @@
|
||||
SCHEMA=$BUNDLED_EXTENSIONS/wiki-publisher/WikiExtension.xcs
|
||||
DATA=$BUNDLED_EXTENSIONS_USER/registry/com.sun.star.comp.deployment.configuration.PackageRegistryBackend/lu2116xqu.tmp/Paths.xcu $BUNDLED_EXTENSIONS/wiki-publisher/Types.xcu $BUNDLED_EXTENSIONS_USER/registry/com.sun.star.comp.deployment.configuration.PackageRegistryBackend/lu2116xqs.tmp/Filter.xcu $BUNDLED_EXTENSIONS_USER/registry/com.sun.star.comp.deployment.configuration.PackageRegistryBackend/lu2116xqr.tmp/OptionsDialog.xcu $BUNDLED_EXTENSIONS/wiki-publisher/WikiExtension.xcu $BUNDLED_EXTENSIONS/wiki-publisher/ProtocolHandler.xcu $BUNDLED_EXTENSIONS/wiki-publisher/Addons.xcu
|
||||
@@ -1,2 +0,0 @@
|
||||
<?xml version="1.0"?>
|
||||
<help:help-backend-db xmlns:help="http://openoffice.org/extensionmanager/help-registry/2010"><help:help url="vnd.sun.star.expand:$BUNDLED_EXTENSIONS/nlpsolver/help"><help:data-url>vnd.sun.star.expand:$BUNDLED_EXTENSIONS/nlpsolver/help</help:data-url></help:help><help:help url="vnd.sun.star.expand:$BUNDLED_EXTENSIONS/wiki-publisher/help"><help:data-url>vnd.sun.star.expand:$BUNDLED_EXTENSIONS/wiki-publisher/help</help:data-url></help:help></help:help-backend-db>
|
||||
@@ -1,2 +0,0 @@
|
||||
<?xml version="1.0"?>
|
||||
<script:script-backend-db xmlns:script="http://openoffice.org/extensionmanager/script-registry/2010"><script:script url="vnd.sun.star.expand:$BUNDLED_EXTENSIONS/wiki-publisher/WikiEditor/"/></script:script-backend-db>
|
||||
@@ -1 +0,0 @@
|
||||
1
|
||||
@@ -1,2 +0,0 @@
|
||||
<?xml version="1.0"?>
|
||||
<conf:configuration-backend-db xmlns:conf="http://openoffice.org/extensionmanager/configuration-registry/2010"/>
|
||||
@@ -1,2 +0,0 @@
|
||||
<?xml version="1.0"?>
|
||||
<help:help-backend-db xmlns:help="http://openoffice.org/extensionmanager/help-registry/2010"/>
|
||||
@@ -1,2 +0,0 @@
|
||||
<?xml version="1.0"?>
|
||||
<conf:configuration-backend-db xmlns:conf="http://openoffice.org/extensionmanager/configuration-registry/2010"/>
|
||||
@@ -1,2 +0,0 @@
|
||||
<?xml version="1.0"?>
|
||||
<help:help-backend-db xmlns:help="http://openoffice.org/extensionmanager/help-registry/2010"/>
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
File diff suppressed because one or more lines are too long
@@ -1,2 +0,0 @@
|
||||
<?xml version="1.0"?>
|
||||
<conf:configuration-backend-db xmlns:conf="http://openoffice.org/extensionmanager/configuration-registry/2010"/>
|
||||
@@ -1,2 +0,0 @@
|
||||
<?xml version="1.0"?>
|
||||
<help:help-backend-db xmlns:help="http://openoffice.org/extensionmanager/help-registry/2010"/>
|
||||
@@ -1,15 +1,107 @@
|
||||
require('config')
|
||||
vim.o.number = true
|
||||
vim.o.relativenumber = true
|
||||
vim.o.wrap = false
|
||||
vim.o.winborder = "rounded"
|
||||
vim.o.tabstop = 4
|
||||
vim.o.softtabstop = 4
|
||||
vim.o.shiftwidth = 4
|
||||
vim.o.expandtab = false
|
||||
vim.o.smartindent = true
|
||||
vim.o.swapfile = false
|
||||
vim.g.mapleader = " "
|
||||
|
||||
require "paq" {
|
||||
"savq/paq-nvim", -- Let Paq manage itself
|
||||
"nvim-lua/plenary.nvim",
|
||||
{ "nvim-telescope/telescope-fzf-native.nvim", build = "make -j16" },
|
||||
{ "nvim-treesitter/nvim-treesitter", branch = "main" },
|
||||
'Mofiqul/vscode.nvim',
|
||||
'neovim/nvim-lspconfig',
|
||||
vim.keymap.set("n", "<leader>o", ":update<CR>:source<CR>")
|
||||
vim.keymap.set("n", "<leader>lf", vim.lsp.buf.format)
|
||||
vim.keymap.set("n", "<leader>ff", ":Telescope find_files<CR>")
|
||||
vim.keymap.set("n", "<leader>fg", ":Telescope live_grep<CR>")
|
||||
vim.keymap.set("n", "<leader>n", ":noh<CR>")
|
||||
|
||||
vim.pack.add({
|
||||
{ src = "https://github.com/vague-theme/vague.nvim" },
|
||||
{ src = "https://github.com/neovim/nvim-lspconfig" },
|
||||
{ src = "https://github.com/nvim-lua/plenary.nvim" },
|
||||
{ src = "nvim-telescope/telescope-fzf-native.nvim" },
|
||||
{ src = "https://github.com/nvim-telescope/telescope.nvim" },
|
||||
{ src = "https://github.com/hrsh7th/nvim-cmp" },
|
||||
{ src = "https://github.com/hrsh7th/cmp-nvim-lsp" },
|
||||
{ src = "https://github.com/windwp/nvim-autopairs" },
|
||||
{ src = "https://github.com/nvim-treesitter/nvim-treesitter" }
|
||||
})
|
||||
|
||||
vim.lsp.config('lua_ls', {
|
||||
on_init = function(client)
|
||||
if client.workspace_folders then
|
||||
local path = client.workspace_folders[1].name
|
||||
if
|
||||
path ~= vim.fn.stdpath('config')
|
||||
and (vim.uv.fs_stat(path .. '/.luarc.json') or vim.uv.fs_stat(path .. '/.luarc.jsonc'))
|
||||
then
|
||||
return
|
||||
end
|
||||
end
|
||||
|
||||
client.config.settings.Lua = vim.tbl_deep_extend('force', client.config.settings.Lua, {
|
||||
runtime = {
|
||||
-- Tell the language server which version of Lua you're using (most
|
||||
-- likely LuaJIT in the case of Neovim)
|
||||
version = 'LuaJIT',
|
||||
-- Tell the language server how to find Lua modules same way as Neovim
|
||||
-- (see `:h lua-module-load`)
|
||||
path = {
|
||||
'lua/?.lua',
|
||||
'lua/?/init.lua',
|
||||
},
|
||||
},
|
||||
workspace = {
|
||||
checkThirdParty = false,
|
||||
library = {
|
||||
vim.env.VIMRUNTIME,
|
||||
},
|
||||
},
|
||||
})
|
||||
end,
|
||||
settings = {
|
||||
Lua = {},
|
||||
},
|
||||
})
|
||||
|
||||
local cmp = require 'cmp'
|
||||
|
||||
cmp.setup({
|
||||
snippet = {
|
||||
expand = function(args)
|
||||
vim.snippet.expand(args.body)
|
||||
end
|
||||
},
|
||||
preselect = cmp.PreselectMode.Item,
|
||||
mapping = cmp.mapping.preset.insert({
|
||||
['<C-b>'] = cmp.mapping.scroll_docs(-4),
|
||||
['<C-f>'] = cmp.mapping.scroll_docs(4),
|
||||
['<C-j>'] = cmp.mapping.select_next_item(),
|
||||
['<C-k>'] = cmp.mapping.select_prev_item(),
|
||||
['<C-Space>'] = cmp.mapping.complete(),
|
||||
['<C-e>'] = cmp.mapping.abort(),
|
||||
['<CR>'] = cmp.mapping.confirm({ select = true }),
|
||||
}),
|
||||
sources = cmp.config.sources({
|
||||
{ name = "nvim_lsp" }
|
||||
}, { name = 'buffer' })
|
||||
})
|
||||
|
||||
require("vague").setup {
|
||||
transparent = true,
|
||||
italic = false,
|
||||
}
|
||||
|
||||
require('treesitter')
|
||||
require('finder')
|
||||
require('lsp')
|
||||
require('theme')
|
||||
local capabilities = require('cmp_nvim_lsp').default_capabilities()
|
||||
|
||||
vim.o.colorcolumn = "80"
|
||||
|
||||
vim.lsp.config('lua_ls', {
|
||||
capabilities = capabilities,
|
||||
})
|
||||
vim.lsp.enable({ "lua_ls", "clangd" })
|
||||
vim.cmd("colorscheme vague")
|
||||
|
||||
require 'nvim-autopairs'.setup {}
|
||||
require 'nvim-treesitter'.install({ "c", "cpp", "rust", "lua", "javascript", "typescript" })
|
||||
|
||||
@@ -1,13 +0,0 @@
|
||||
vim.o.syntax = "on"
|
||||
vim.o.expandtab = true
|
||||
vim.o.tabstop = 4
|
||||
vim.o.softtabstop = 4
|
||||
vim.o.shiftwidth = 4
|
||||
vim.o.smarttab = true
|
||||
vim.o.smartindent = true
|
||||
vim.o.number = true
|
||||
vim.o.relativenumber = true
|
||||
vim.o.colorcolumn = "100"
|
||||
vim.o.bg = "dark"
|
||||
vim.g.mapleader = " "
|
||||
|
||||
@@ -1,25 +0,0 @@
|
||||
local ok, builtin = pcall(require, "telescope.builtin")
|
||||
if not ok then
|
||||
print("failed to load telescope.builtin")
|
||||
return
|
||||
end
|
||||
|
||||
vim.keymap.set('n', '<leader>ff', builtin.find_files, { desc = 'Telescope find files' })
|
||||
vim.keymap.set('n', '<leader>fg', builtin.live_grep, { desc = 'Telescope live grep' })
|
||||
vim.keymap.set('n', '<leader>fb', builtin.buffers, { desc = 'Telescope buffers' })
|
||||
vim.keymap.set('n', '<leader>fh', builtin.help_tags, { desc = 'Telescope help tags' })
|
||||
|
||||
local ok, telescope = pcall(require, "telescope")
|
||||
if not ok then
|
||||
print("failed to load telescope")
|
||||
return
|
||||
end
|
||||
|
||||
telescope.setup {
|
||||
pickers = {
|
||||
find_files = {
|
||||
hidden = true
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,3 +0,0 @@
|
||||
|
||||
vim.lsp.enable('pyright')
|
||||
|
||||
@@ -1,11 +0,0 @@
|
||||
local ok, theme = pcall(require, "vscode")
|
||||
if not ok then
|
||||
print("failed to load vscode theme")
|
||||
return
|
||||
end
|
||||
|
||||
theme.setup{
|
||||
transparent = true,
|
||||
}
|
||||
|
||||
vim.cmd.colorscheme "vscode"
|
||||
@@ -1,8 +0,0 @@
|
||||
local ok, treesitter = pcall(require, "nvim-treesitter")
|
||||
if not ok then
|
||||
print("ERROR: treesitter couldn't be loaded")
|
||||
return
|
||||
end
|
||||
|
||||
treesitter.install { 'lua' }
|
||||
|
||||
40
.config/nvim/nvim-pack-lock.json
Normal file
40
.config/nvim/nvim-pack-lock.json
Normal file
@@ -0,0 +1,40 @@
|
||||
{
|
||||
"plugins": {
|
||||
"cmp-nvim-lsp": {
|
||||
"rev": "cbc7b02bb99fae35cb42f514762b89b5126651ef",
|
||||
"src": "https://github.com/hrsh7th/cmp-nvim-lsp"
|
||||
},
|
||||
"nvim-autopairs": {
|
||||
"rev": "59bce2eef357189c3305e25bc6dd2d138c1683f5",
|
||||
"src": "https://github.com/windwp/nvim-autopairs"
|
||||
},
|
||||
"nvim-cmp": {
|
||||
"rev": "da88697d7f45d16852c6b2769dc52387d1ddc45f",
|
||||
"src": "https://github.com/hrsh7th/nvim-cmp"
|
||||
},
|
||||
"nvim-lspconfig": {
|
||||
"rev": "66fd02ad1c7ea31616d3ca678fa04e6d0b360824",
|
||||
"src": "https://github.com/neovim/nvim-lspconfig"
|
||||
},
|
||||
"nvim-treesitter": {
|
||||
"rev": "45a07f869b0cffba342276f2c77ba7c116d35db8",
|
||||
"src": "https://github.com/nvim-treesitter/nvim-treesitter"
|
||||
},
|
||||
"plenary.nvim": {
|
||||
"rev": "b9fd5226c2f76c951fc8ed5923d85e4de065e509",
|
||||
"src": "https://github.com/nvim-lua/plenary.nvim"
|
||||
},
|
||||
"telescope-fzf-native.nvim": {
|
||||
"rev": "6fea601bd2b694c6f2ae08a6c6fab14930c60e2c",
|
||||
"src": "https://github.com/nvim-telescope/telescope-fzf-native.nvim"
|
||||
},
|
||||
"telescope.nvim": {
|
||||
"rev": "ad7d9580338354ccc136e5b8f0aa4f880434dcdc",
|
||||
"src": "https://github.com/nvim-telescope/telescope.nvim"
|
||||
},
|
||||
"vague.nvim": {
|
||||
"rev": "c1ab4d4891ff3a27deba6a80222d895ac8ffb2e5",
|
||||
"src": "https://github.com/vague-theme/vague.nvim"
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -39,6 +39,12 @@
|
||||
"~/.config/waybar/modules/custom/dividers.jsonc"
|
||||
],
|
||||
|
||||
"hyprland/language": {
|
||||
"format-": "ru",
|
||||
"format-en": "en",
|
||||
"format-us": "en",
|
||||
},
|
||||
|
||||
/*------------
|
||||
layout
|
||||
------------*/
|
||||
|
||||
Reference in New Issue
Block a user