Git Product home page Git Product logo

abstract's People

Contributors

antuspenskiy avatar hmgle avatar nmarks413 avatar northdakotag avatar shaeinst avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

abstract's Issues

Neovim 0.9 filetype_to_parsername is deprecated

It appears that in Neovim 0.9 filetype_to_parsername is deprecated and should be replaced with vim.treesitter.language.register

This causes a warning when starting Abstract with v0.9 or later. I think the following modification to lua/plugins/nvim-treesitter.lua will accomplish the same thing without warning:

-- local parsername = parsers.filetype_to_parsername
-- parsername.htmldjango = 'html' -- enable html parser in htmldjango file
-- parsername.zsh = 'bash' -- enable bash parser in zsh file
   vim.treesitter.language.register('html', 'htmldjango')
   vim.treesitter.language.register('bash', 'zsh')

Contributions

Hi,
I was looking for a contribution guide, but couldn't find it in the docs. Could you write one? It's hard to know what kind of help do you expect from the community, if any. Some kind of plan, or a roadmap would be nice :D

Also, showcase page is empty and there's information what are the plans for it.

Thank you for your hard work!

Run MasonUpdate when installing mason.nvim

I found I needed to run :MasonUpdate after installing the Abstract Neovim configuration. Otherwise I get a :checkhealth warning about the Mason registry. The MasonUpdate can be performed automatically during installation by using something like the following with the Packer plugin manager:

use {
    "williamboman/mason.nvim",
    run = ":MasonUpdate" -- :MasonUpdate updates registry contents
}

I'm not sure how Abstract implements the Packer plugin initialization. If Abstract can perform the MasonUpdate during install this will alleviate the need for the user to manually perform this task. Many Neovim configurations have this same issue.

The `lsp_options` variable was not modified as expected

Each modification to lsp_options will affect each future iteration of other server.name:

local lsp_options = {
on_attach = on_attach,
flags = {
debounce_text_changes = 150,
},
capabilities = require('cmp_nvim_lsp').update_capabilities(capabilities),
}
-- for Flutter and Dart
-- don't put this on loop to set it because dart LSP installed and maintained by akinsho/flutter-tools.nvim
lspconfig["dartls"].setup(lsp_options)
for _, server in ipairs(installed_servers) do
-- for lua
if server.name == "sumneko_lua" then
lsp_options.settings = {
Lua = {
diagnostics = {
-- Get the language server to recognize the 'vim', 'use' global
globals = {'vim', 'use', 'require'},
},
workspace = {
-- Make the server aware of Neovim runtime files
library = vim.api.nvim_get_runtime_file("", true),
},
-- Do not send telemetry data containing a randomized but unique identifier
telemetry = {enable = false},
},
}
end
-- for clangd (c/c++)
-- [https://github.com/jose-elias-alvarez/null-ls.nvim/issues/428]
if server.name == "clangd" then
capabilities.offsetEncoding = { "utf-16" }
lsp_options.capabilities = capabilities
end
-- for html
if server.name == "html" then
lsp_options.filetypes = {"html", "htmldjango"}
end
-- for css / scss / sass
if server.name == "cssls" then
--[==[
Neovim does not currently include built-in snippets.
`vscode-css-language-server` only provides completions when snippet support is enabled.
To enable completion, install a snippet plugin and add the following override to your
language client capabilities during setup. Enable (broadcasting) snippet capability for completion
https://github.com/neovim/nvim-lspconfig/blob/master/lua/lspconfig/server_configurations/cssls.lua
--]==]
capabilities.textDocument.completion.completionItem.snippetSupport = true
lsp_options.capabilities = capabilities
end
lspconfig[server.name].setup(lsp_options)

Errors installing on M1 mac

Hello, trying to install this on an M1 mac, I'm getting errors trying using the curl as well as manual git clone methods.

curl method returns -

Invalid redirection target:
python <(curl -s https://raw.githubusercontent.com/shaeinst/roshnivim/main/setup.py)

screenshot - https://imgur.com/1oMXcDs

manual method returns-

FileNotFoundError: [Errno 2] No such file or directory: '/Users/redacted/.config/nvim/lua/configs.lua' -> '/Users/redacted/.config/nvim/lua/configs.lua.bak'

screenshot - https://imgur.com/tT2Wcr2

How to change color's theme?

Hi, Guys
I'm using this amazing tool, but I'm facing a problem with current theme, I don't like the color, How can I change the colors?
Screen Shot 2022-01-17 at 8 41 48

regarding .config/nvim directory

Hey dude,
Your whole project is awesome, but you are moving your whole directory to '.config/nvim' which make it as git directory.
Which is not good. Add something that will not make it as git.

Support for Windows

Recently I checked this nvim config for Dart and want to use, but the installer "setup.py" is not working in Windows. So, adding support for Windows will be great. :D

Errors installing in Ubuntu 20.04

I have installed nvim v0.7.0.

When running your installer I see this error:

[lsp-installer] [ERROR 11:41:55]...ested URL returned error: 404 \n'[lsp-installer] [INFO 11:41:55]...name="sumneko_lua", success=false

Then it appears to be stalled. If I installed sumneko_lua manually, I don't get that error but it doesn't seem to make any progress and doesn't install other lsp's.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.